Merge pull request #1743 from heuripedes/master

(libretrodb) Fix leak in database_cursor_iterate()
This commit is contained in:
Twinaphex 2015-06-04 17:47:13 +02:00
commit fdc65d3473

View File

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