Fixes potential crash

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@705 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
avolkov
2003-02-07 00:36:25 +00:00
parent 9622db8e44
commit d5c3b119d1
@@ -153,7 +153,11 @@ TFB_mixSDL_UninitSound (void)
{
int i;
if (StreamDecoderTask)
{
ConcludeTask (StreamDecoderTask);
StreamDecoderTask = NULL;
}
for (i = 0; i < NUM_SOUNDSOURCES; ++i)
{