From a0a4438869a1e21e5f430238da6aefd97b17fe5f Mon Sep 17 00:00:00 2001 From: Pere Pujal i Carabantes Date: Mon, 15 Jun 2009 17:01:33 +0000 Subject: [PATCH] Correct mistake when freeing at shutdown --- magic/src/string.c | 1 + 1 file changed, 1 insertion(+) diff --git a/magic/src/string.c b/magic/src/string.c index 83dc23777..598b98ed4 100644 --- a/magic/src/string.c +++ b/magic/src/string.c @@ -193,6 +193,7 @@ void string_shutdown(__attribute__((unused)) magic_api * api) { if (string_snd[i] != NULL) Mix_FreeChunk(string_snd[i]); + i ++; } }