summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/helper/command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/helper/command.c b/src/helper/command.c
index 8b7ad36e..df12ffc1 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;
}