Minor fix so that the program exits upon a poolfree failure

llvm-svn: 7762
This commit is contained in:
Sumant Kowshik 2003-08-12 00:43:23 +00:00
parent 4bdec32446
commit dca760a431
1 changed files with 1 additions and 0 deletions

View File

@ -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 */