* check-init.c (check_init): Fix typo freeing memory twice.

From-SVN: r47763
This commit is contained in:
Per Bothner 2001-12-07 10:16:21 -08:00 committed by Per Bothner
parent 4519d6a340
commit a9040c7798
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2001-12-07 Per Bothner <per@bothner.com>
* check-init.c (check_init): Fix typo freeing memory twice.
2001-12-05 Per Bothner <per@bothner.com>
Restore support for static class initialization optimization.

View File

@ -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;
}