summaryrefslogtreecommitdiff
path: root/celt/tests/test_unit_laplace.c
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2015-12-04 14:35:18 -0500
committerJean-Marc Valin <jmvalin@jmvalin.ca>2015-12-04 14:35:18 -0500
commit6fa8563244804f153290a5f89eb31823601e0f5e (patch)
treed99fd3ca6af93d97b0274137ff30090fb4a31e8b /celt/tests/test_unit_laplace.c
parent1970d5becd1cbb6f5a9322e18f8df8250a7cbba7 (diff)
downloadopus-6fa8563244804f153290a5f89eb31823601e0f5e.tar.gz
Fixes memory leak in some CELT unit tests
Reported in https://trac.xiph.org/ticket/2241
Diffstat (limited to 'celt/tests/test_unit_laplace.c')
-rw-r--r--celt/tests/test_unit_laplace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/celt/tests/test_unit_laplace.c b/celt/tests/test_unit_laplace.c
index b0f59359..22951e29 100644
--- a/celt/tests/test_unit_laplace.c
+++ b/celt/tests/test_unit_laplace.c
@@ -88,5 +88,6 @@ int main(void)
}
}
+ free(ptr);
return ret;
}