Verified Commit 4e1155cc authored by Robert Kausch's avatar Robert Kausch Committed by Ralph Giles
Browse files

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's avatarRalph Giles <giles@thaumas.net>
parent 83a82dd9
Pipeline #2426 passed with stage
in 1 minute and 42 seconds
......@@ -581,7 +581,7 @@ void run_test(static_codebook *b,float *comp){
exit(1);
}
}
free(out);
_ogg_free(out);
}
int main(){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment