Plug a memory leak.

From-SVN: r38218
This commit is contained in:
Bernd Schmidt 2000-12-13 15:06:54 +00:00 committed by Bernd Schmidt
parent eebc608e3b
commit b639e6e4c6
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2000-12-13 Bernd Schmidt <bernds@redhat.co.uk>
* simplify-rtx.c (cselib_finish): Free reg_values and used_regs
varrays.
2000-12-12 Mike Stump <mrs@wrs.com>
* Makefile.in (distclean): Remove safe-ctype.c as well.

View File

@ -3358,5 +3358,7 @@ void
cselib_finish ()
{
clear_table (0);
VARRAY_FREE (reg_values);
VARRAY_FREE (used_regs);
htab_delete (hash_table);
}