diff options
author | Daniel Jacobowitz <drow@false.org> | 2006-11-18 23:57:08 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2006-11-18 23:57:08 +0000 |
commit | 08f08ce684d4d86788dd9a0d262ef461dacecf01 (patch) | |
tree | 633131d97702dc1c0f92dc1ec192cdbcd8fb164a /gdb/prologue-value.c | |
parent | aef9c3b3f539d16ff8286c492038090d29f9aa68 (diff) | |
download | gdb-08f08ce684d4d86788dd9a0d262ef461dacecf01.zip gdb-08f08ce684d4d86788dd9a0d262ef461dacecf01.tar.gz gdb-08f08ce684d4d86788dd9a0d262ef461dacecf01.tar.bz2 |
* prologue-value.c (clear_entries): Fix memory leak.
Diffstat (limited to 'gdb/prologue-value.c')
-rw-r--r-- | gdb/prologue-value.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/prologue-value.c b/gdb/prologue-value.c index 4ad4d6c..b8f32bc 100644 --- a/gdb/prologue-value.c +++ b/gdb/prologue-value.c @@ -351,6 +351,7 @@ clear_entries (struct pv_area *area) { struct area_entry *next = e->next; xfree (e); + e = next; } while (e != area->entry); |