1
0
mirror of https://github.com/libretro/RetroArch synced 2025-04-18 05:43:34 +00:00

Merge pull request 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

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