mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-30 19:50:24 +00:00
Merge pull request #3026 from sronsse/fixes_for_team
query: Fix arguments memory leak
This commit is contained in:
commit
b01b7cf7cb
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user