summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 85d9463d..b00a2312 100644
--- a/src/helper/command.c
+++ b/src/helper/command.c
@@ -723,6 +723,7 @@ int command_run_linef(struct command_context *context, const char *format, ...)
if (string != NULL)
{
retval = command_run_line(context, string);
+ free(string);
}
va_end(ap);
return retval;