aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-08-06 19:02:48 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-08-06 19:02:48 +0100
commitf7e027a1da1f44c1ef68f0532f797343e7212073 (patch)
treea72c1457a97d38e44221137c64243b4d7ebc65c6
parent1fd6d2a62b971a568eddb100ac8481fd69f27546 (diff)
downloadgold-mine-run-f7e027a1da1f44c1ef68f0532f797343e7212073.tar.gz
gold-mine-run-f7e027a1da1f44c1ef68f0532f797343e7212073.zip
Release memory
-rw-r--r--src/sound.c2
1 files changed, 1 insertions, 1 deletions
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();