mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Improve menu_animation_free
This commit is contained in:
parent
a85908c8f9
commit
37a8e0ef85
@ -255,7 +255,8 @@ void menu_animation_free(animation_t *animation)
|
||||
|
||||
for (i = 0; i < animation->size; i++)
|
||||
{
|
||||
free(animation->list[i].subject);
|
||||
if (animation->list[i].subject)
|
||||
free(animation->list[i].subject);
|
||||
}
|
||||
|
||||
free(animation->list);
|
||||
|
Loading…
x
Reference in New Issue
Block a user