summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx2
1 files changed, 2 insertions, 0 deletions
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;
}