mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-03 19:02:35 +00:00
Minor fix so that the program exits upon a poolfree failure
llvm-svn: 7762
This commit is contained in:
parent
f75f0fe692
commit
08652ac113
@ -242,6 +242,7 @@ void poolfree(PoolTy *Pool, char *Node) {
|
||||
|
||||
if (!ALLOCATION_BEGINS(PS, Idx)) {
|
||||
printf("poolfree: Attempt to free middle of allocated array\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
/* Free the first node */
|
||||
|
Loading…
x
Reference in New Issue
Block a user