query: Fix arguments memory leak

This commit is contained in:
Sebastien Ronsse 2016-05-24 11:48:42 +10:00
parent 1b9e222e6e
commit 2824057652

View File

@ -413,6 +413,8 @@ static void query_argument_free(struct argument *arg)
for (i = 0; i < arg->a.invocation.argc; i++)
query_argument_free(&arg->a.invocation.argv[i]);
free((void*)arg->a.invocation.argv);
}
static struct buffer query_parse_integer(struct buffer buff,