summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Kausch <robert.kausch@freac.org>2021-02-20 16:22:02 +0100
committerRalph Giles <giles@thaumas.net>2021-02-20 12:02:52 -0800
commit4e1155cc77a2c672f3dd18f9a32dbf1404693289 (patch)
treee795bc5a9d14e29a16813e1f29249766bb10a80a
parent83a82dd9296400d811b78c06e9ca429e24dd1e5c (diff)
downloadlibvorbis-git-4e1155cc77a2c672f3dd18f9a32dbf1404693289.tar.gz
Fix tests run with make check when using alternative allocators.
The call to free in line 584 of sharedbook.c mismatches the _ogg_calloc call used to allocated that data in line 216. This causes make check to fail when alternative allocators are used, e.g. the xmm_malloc family of allocators used with the Lancer optimizations. Signed-off-by: Ralph Giles <giles@thaumas.net>
-rw-r--r--lib/sharedbook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sharedbook.c b/lib/sharedbook.c
index 62a9a00a..444f42b5 100644
--- a/lib/sharedbook.c
+++ b/lib/sharedbook.c
@@ -581,7 +581,7 @@ void run_test(static_codebook *b,float *comp){
exit(1);
}
}
- free(out);
+ _ogg_free(out);
}
int main(){