mirror of
https://github.com/libretro/RetroArch
synced 2025-03-30 07:20:36 +00:00
query: Fix arguments memory leak
This commit is contained in:
parent
1b9e222e6e
commit
2824057652
@ -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…
x
Reference in New Issue
Block a user