]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_main.c
fix two runaway loops caused by unsigned int i
[xonotic/darkplaces.git] / snd_main.c
index ede502866e66f32e7f3ae39002ad197e18f11ae5..fe18aed74a5791afaec64c7d882190b0aa5261f0 100644 (file)
@@ -365,7 +365,7 @@ void S_ServerSounds (char serversound [][MAX_QPATH], unsigned int numsounds)
        for (sfx = known_sfx;sfx;sfx = sfxnext)
        {
                sfxnext = sfx->next;
-               S_FreeSfx (sfx);
+               S_FreeSfx (sfx, false);
        }
 }