mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-19 00:41:53 +00:00
Merge pull request #1728 from heuripedes/master
(database_info.c) Free value after reading it
This commit is contained in:
commit
cc2234401d
@ -210,6 +210,8 @@ static int database_cursor_iterate(libretrodb_cursor_t *cur,
|
|||||||
db_info->md5 = bin_to_hex_alloc((uint8_t*)val->binary.buff, val->binary.len);
|
db_info->md5 = bin_to_hex_alloc((uint8_t*)val->binary.buff, val->binary.len);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rmsgpack_dom_value_free(&item);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user