From 1cde5ba54b676c42e583794ecf75c04e4d20a15b Mon Sep 17 00:00:00 2001 From: jistone Date: Thu, 25 May 2006 22:13:30 +0000 Subject: 2006-05-25 Josh Stone * tapsets.cxx (dwarf_var_expanding_copy_visitor::visit_target_symbol): Free allocated memory when supressing target-variable errors --- tapsets.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tapsets.cxx') 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 (this, e); + delete fdecl; + delete ec; return; } -- cgit