mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
playlist.c - cleanup
This commit is contained in:
parent
9d9a5e71ab
commit
f6ebcebfea
11
playlist.c
11
playlist.c
@ -152,27 +152,26 @@ static void playlist_free_entry(struct playlist_entry *entry)
|
||||
|
||||
if (!string_is_empty(entry->path))
|
||||
free(entry->path);
|
||||
entry->path = NULL;
|
||||
|
||||
if (!string_is_empty(entry->label))
|
||||
free(entry->label);
|
||||
entry->label = NULL;
|
||||
|
||||
if (!string_is_empty(entry->core_path))
|
||||
free(entry->core_path);
|
||||
entry->core_path = NULL;
|
||||
|
||||
if (!string_is_empty(entry->core_name))
|
||||
free(entry->core_name);
|
||||
entry->core_name = NULL;
|
||||
|
||||
if (!string_is_empty(entry->db_name))
|
||||
free(entry->db_name);
|
||||
entry->db_name = NULL;
|
||||
|
||||
if (!string_is_empty(entry->crc32))
|
||||
free(entry->crc32);
|
||||
|
||||
entry->path = NULL;
|
||||
entry->label = NULL;
|
||||
entry->core_path = NULL;
|
||||
entry->core_name = NULL;
|
||||
entry->db_name = NULL;
|
||||
entry->crc32 = NULL;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user