Merge pull request #3026 from sronsse/fixes_for_team

query: Fix arguments memory leak
This commit is contained in:
Twinaphex 2016-05-24 03:58:48 +02:00
commit b01b7cf7cb

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,