mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 09:32:52 +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…
x
Reference in New Issue
Block a user