From 436fe5150de0c8f060652323397f3b7aaa432913 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 11 Feb 2015 01:26:33 +0100 Subject: [PATCH] (menu_animation.c) subject does not need to be freed --- menu/menu_animation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menu/menu_animation.c b/menu/menu_animation.c index 4a262b7c19..9bf8e6534e 100644 --- a/menu/menu_animation.c +++ b/menu/menu_animation.c @@ -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);