From f7e027a1da1f44c1ef68f0532f797343e7212073 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Sun, 6 Aug 2023 19:02:48 +0100 Subject: Release memory --- src/sound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/sound.c b/src/sound.c index aeeeeb8..a3f38b8 100644 --- a/src/sound.c +++ b/src/sound.c @@ -101,7 +101,7 @@ void sound_free() Player_Free(music); for (uint8_t i = 0; i < EFX_CNT; i++) - if (!efx[i].s) + if (efx[i].s) Sample_Free(efx[i].s); MikMod_Exit(); -- cgit v1.2.3