diff --git a/src/helper/command.c b/src/helper/command.c index 8b7ad36ea..df12ffc1b 100644 --- a/src/helper/command.c +++ b/src/helper/command.c @@ -275,6 +275,7 @@ void command_print(command_context_t *context, char *format, ...) /* gotta free up */ if (buffer) free(buffer); + va_end(ap); return; }