From ce83ff5765bc2e37d74ccbd46aabd80f06368bf4 Mon Sep 17 00:00:00 2001 From: Lukas Berk Date: Tue, 2 Aug 2011 13:55:51 -0400 Subject: [PATCH] Add destructor to struct dwarf_pretty_print *tapsets.cxx: add destructor to deallocate ts --- tapsets.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/tapsets.cxx b/tapsets.cxx index 0f277348f..5f4c91bc8 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -2259,6 +2259,7 @@ struct dwarf_pretty_print } functioncall* expand (); + ~dwarf_pretty_print () { delete ts; } private: dwflpp& dw; -- 2.43.5