Correct mistake when freeing at shutdown
This commit is contained in:
parent
dbc747b879
commit
a0a4438869
1 changed files with 1 additions and 0 deletions
|
|
@ -193,6 +193,7 @@ void string_shutdown(__attribute__((unused)) magic_api * api)
|
||||||
{
|
{
|
||||||
if (string_snd[i] != NULL)
|
if (string_snd[i] != NULL)
|
||||||
Mix_FreeChunk(string_snd[i]);
|
Mix_FreeChunk(string_snd[i]);
|
||||||
|
i ++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue