Merge pull request #1728 from heuripedes/master

(database_info.c) Free value after reading it
This commit is contained in:
Twinaphex 2015-05-28 02:25:59 +02:00
commit cc2234401d

View File

@ -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);
}
rmsgpack_dom_value_free(&item);
return 0;
}