mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
Merge pull request #1743 from heuripedes/master
(libretrodb) Fix leak in database_cursor_iterate()
This commit is contained in:
commit
fdc65d3473
@ -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