Skip to content

Commit 4e1155c

Browse files
enzo1982rillian
authored andcommitted
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 <[email protected]>
1 parent 83a82dd commit 4e1155c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/sharedbook.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ void run_test(static_codebook *b,float *comp){
581581
exit(1);
582582
}
583583
}
584-
free(out);
584+
_ogg_free(out);
585585
}
586586

587587
int main(){

0 commit comments

Comments
 (0)