purify experiments
Jim Wilson
wilson@cygnus.com
Tue Sep 30 16:12:00 GMT 1997
My bad. I've put this fix into EGCS & gcc2:
1997-09-30 Brendan Kehoe <brendan@lisa.cygnus.com>
* except.c (find_exception_handler_labels): Free LABELS when we're
done.
This patch is no good, as you are passing a value to free that did not
come from malloc. Since this is interferring with my work, I have installed
this patch to fix the problem. You are welcome to fix the problem differently
if you want.
Tue Sep 30 16:07:58 1997 Jim Wilson <wilson@cygnus.com>
* except.c (find_exception_handler_labels): Correct argument to free.
Index: except.c
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/except.c,v
retrieving revision 1.25
diff -p -r1.25 except.c
*** except.c 1997/09/30 18:29:46 1.25
--- except.c 1997/09/30 23:02:50
*************** find_exception_handler_labels ()
*** 1848,1854 ****
}
}
! free (labels);
}
/* Perform sanity checking on the exception_handler_labels list.
--- 1848,1854 ----
}
}
! free (labels + min_labelno);
}
/* Perform sanity checking on the exception_handler_labels list.
More information about the Gcc
mailing list