mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
Remove database_playlist_free
This commit is contained in:
parent
6294d7a360
commit
87b501efa7
@ -380,9 +380,3 @@ void database_info_list_free(database_info_list_t *database_info_list)
|
||||
free(database_info_list->list);
|
||||
free(database_info_list);
|
||||
}
|
||||
|
||||
void database_playlist_free(content_playlist_t *db_playlist)
|
||||
{
|
||||
if (db_playlist)
|
||||
content_playlist_free(db_playlist);
|
||||
}
|
||||
|
@ -101,8 +101,6 @@ void database_info_free(database_info_handle_t *dbl);
|
||||
int database_info_build_query(
|
||||
char *query, size_t len, const char *label, const char *path);
|
||||
|
||||
void database_playlist_free(content_playlist_t *db_playlist);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
@ -1153,12 +1153,12 @@ static int menu_displaylist_parse_database_entry(menu_displaylist_info_t *info)
|
||||
0, 0);
|
||||
#endif
|
||||
|
||||
database_playlist_free(playlist);
|
||||
content_playlist_free(playlist);
|
||||
|
||||
return 0;
|
||||
|
||||
error:
|
||||
database_playlist_free(playlist);
|
||||
content_playlist_free(playlist);
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
@ -69,7 +69,7 @@ static int action_ok_playlist_entry(const char *path,
|
||||
rarch_playlist_load_content(playlist, selection_ptr);
|
||||
|
||||
if (free_list)
|
||||
database_playlist_free(playlist);
|
||||
content_playlist_free(playlist);
|
||||
|
||||
menu_list_flush_stack(menu->menu_list, NULL, MENU_SETTINGS);
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user