1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-05 09:48:42 +00:00
This commit is contained in:
twinaphex 2015-09-17 07:27:13 +02:00
parent 6cc98e1fa9
commit 7ad55484ce
2 changed files with 8 additions and 0 deletions

View File

@ -319,7 +319,10 @@ retry:
if (cursor->query)
{
if (!libretrodb_query_filter(cursor->query, out))
{
rmsgpack_dom_value_free(out);
goto retry;
}
}
return 0;

View File

@ -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,