chromatic wrote:
There is little bit different patch for it.
--- a/src/exceptions.c
+++ b/src/exceptions.c
@@ -772,7 +772,9 @@ associated exceptions free list for the specified
interpreter.
void
destroy_exception_list(PARROT_INTERP)
{
- really_destroy_exception_list(interp->exceptions);
+ if (interp->exceptions != NULL) {
+ really_destroy_exception_list(interp->exceptions);
+ }
really_destroy_exception_list(interp->exc_free_list);
}
interp->exceptions initialized lazily. But really_destroy_exception have
signature with __attribute_notnull__. So we should either check this
value before function call or change function signature to accepts NULL.
--
Bacek.