mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
(database_info.c) Fix massive leak
This commit is contained in:
parent
78d6ff31a9
commit
43d7124c75
@ -226,10 +226,7 @@ static int database_cursor_iterate(libretrodb_cursor_t *cur,
|
||||
db_info->publisher = strdup(val->string.buff);
|
||||
break;
|
||||
case DB_CURSOR_DEVELOPER:
|
||||
{
|
||||
db_info->developer = string_list_new();
|
||||
db_info->developer = string_split(val->string.buff, "|");
|
||||
}
|
||||
db_info->developer = string_split(val->string.buff, "|");
|
||||
break;
|
||||
case DB_CURSOR_ORIGIN:
|
||||
db_info->origin = strdup(val->string.buff);
|
||||
|
Loading…
Reference in New Issue
Block a user