diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index e2d32fc1fb4..6083f059323 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,7 @@ +2001-12-07 Per Bothner + + * check-init.c (check_init): Fix typo freeing memory twice. + 2001-12-05 Per Bothner Restore support for static class initialization optimization. diff --git a/gcc/java/check-init.c b/gcc/java/check-init.c index 1db19b96dd9..dfc355e8515 100644 --- a/gcc/java/check-init.c +++ b/gcc/java/check-init.c @@ -695,8 +695,6 @@ check_init (exp, before) check_init (TREE_OPERAND (exp, 1), before); done_alternative (before, &alt); FREE_BUFFER(alt.saved, buf); - if (alt.saved != buf) - FREE_WORDS (alt.saved); END_ALTERNATIVES (before, alt); return; }