mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-18 00:07:23 +00:00
(libretrodb) Fix leak in database_cursor_iterate()
This commit is contained in:
parent
a94829c1e8
commit
936d29e703
@ -214,7 +214,10 @@ static int database_cursor_iterate(libretrodb_cursor_t *cur,
|
||||
return -1;
|
||||
|
||||
if (item.type != RDT_MAP)
|
||||
{
|
||||
rmsgpack_dom_value_free(&item);
|
||||
return 1;
|
||||
}
|
||||
|
||||
db_info->analog_supported = -1;
|
||||
db_info->rumble_supported = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user