diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/wee-command.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c index c58b60219..2af76305f 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -782,7 +782,10 @@ COMMAND_CALLBACK(buffer) error = NULL; number2 = strtol (pos_number2, &error, 10); if (!error || error[0]) + { + free (str_number1); return WEECHAT_RC_ERROR; + } } else number2 = number1; |