summaryrefslogtreecommitdiff
path: root/src/sound.test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound.test.c')
-rw-r--r--src/sound.test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sound.test.c b/src/sound.test.c
index 60dcdd1..01cb2dc 100644
--- a/src/sound.test.c
+++ b/src/sound.test.c
@@ -22,6 +22,9 @@ void test_sound_copy()
lily_assert_memory_equal(dest.left, left, 3*sizeof(float));
lily_assert_not_null(dest.right);
lily_assert_memory_equal(dest.right, right, 3*sizeof(float));
+
+ free(dest.left);
+ free(dest.right);
}