(database_info.c) Free value after reading it

This commit is contained in:
Higor Eurípedes 2015-05-27 21:23:06 -03:00
parent 8bde46deb9
commit 2a4df1ddc8

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