* prologue-value.c (clear_entries): Fix memory leak.

This commit is contained in:
Daniel Jacobowitz 2006-11-18 23:57:08 +00:00
parent aef9c3b3f5
commit 08f08ce684
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2006-11-18 Pedro Alves <pedro_alves@portugalmail.pt>
* prologue-value.c (clear_entries): Fix memory leak.
2006-11-18 Pedro Alves <pedro_alves@portugalmail.pt>
* parse.c (write_exp_msymbol): Check SYMBOL_BFD_SECTION before

View File

@ -351,6 +351,7 @@ clear_entries (struct pv_area *area)
{
struct area_entry *next = e->next;
xfree (e);
e = next;
}
while (e != area->entry);