Free() panics are no longer deadly

This commit is contained in:
joonicks
2018-03-27 23:26:34 +02:00
parent 7c5611931b
commit d9fac6178c
8 changed files with 62 additions and 16 deletions

View File

@@ -126,7 +126,8 @@ void Free(char **mem)
{
debug("(Free) PANIC: Free(0x"mx_pfmt"); Unregistered memory block\n",(mx_ptr)src);
run_debug();
exit(1);
//exit(1); // overreacting. just ignore it and accept the leak.
return;
}
mp = mp->next;
}