diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | tapsets.cxx | 2 |
2 files changed, 5 insertions, 0 deletions
@@ -2,6 +2,9 @@ * parse.cxx (parser::scan_pp): Free memory for tokens that are thrown away in the preprocessing stage. + * tapsets.cxx + (dwarf_var_expanding_copy_visitor::visit_target_symbol): + Free allocated memory when supressing target-variable errors 2006-05-25 David Smith <dsmith@redhat.com> diff --git a/tapsets.cxx b/tapsets.cxx index a653c490..3ca145eb 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -2672,6 +2672,8 @@ dwarf_var_expanding_copy_visitor::visit_target_symbol (target_symbol *e) // up not being referenced after all, so it can be optimized out // quietly. provide <target_symbol*> (this, e); + delete fdecl; + delete ec; return; } |