(menu_animation.c) subject does not need to be freed

This commit is contained in:
twinaphex 2015-02-11 01:26:33 +01:00
parent 37a8e0ef85
commit 436fe5150d

View File

@ -256,7 +256,7 @@ void menu_animation_free(animation_t *animation)
for (i = 0; i < animation->size; i++)
{
if (animation->list[i].subject)
free(animation->list[i].subject);
animation->list[i].subject = NULL;
}
free(animation->list);