mirror of
https://github.com/libretro/RetroArch
synced 2024-07-05 09:48:42 +00:00
Backport 18a4c1029d
This commit is contained in:
parent
6cc98e1fa9
commit
7ad55484ce
|
@ -319,7 +319,10 @@ retry:
|
|||
if (cursor->query)
|
||||
{
|
||||
if (!libretrodb_query_filter(cursor->query, out))
|
||||
{
|
||||
rmsgpack_dom_value_free(out);
|
||||
goto retry;
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -850,6 +850,11 @@ void libretrodb_query_free(void *q)
|
|||
|
||||
for (i = 0; i < real_q->root.argc; i++)
|
||||
argument_free(&real_q->root.argv[i]);
|
||||
|
||||
|
||||
free(real_q->root.argv);
|
||||
real_q->root.argv = NULL;
|
||||
free(real_q);
|
||||
}
|
||||
|
||||
void *libretrodb_query_compile(libretrodb_t *db,
|
||||
|
|
Loading…
Reference in New Issue
Block a user