From e678b39de6ddfc0940d0d3b1b56c3c7ebf875820 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 6 Mar 2020 15:40:45 +0100 Subject: [PATCH] Cleanup --- gfx/gfx_animation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/gfx_animation.c b/gfx/gfx_animation.c index 839f55312c..6eaac7e5f4 100644 --- a/gfx/gfx_animation.c +++ b/gfx/gfx_animation.c @@ -2319,7 +2319,7 @@ bool gfx_animation_ctl(enum gfx_animation_ctl_state state, void *data) da_free(anim.list); da_free(anim.pending); - memset(&anim, 0, sizeof(gfx_animation_t)); + memset(&anim, 0, sizeof(anim)); } p_anim->cur_time = 0; p_anim->old_time = 0;