From b77236d4b40467eafbad230938e78012ba777313 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 26 Feb 2016 14:36:44 -0500 Subject: fixing leaking tooltip string Manually created version of PR #211 --- gtk2_ardour/mixer_strip.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gtk2_ardour') diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc index d0c30c9f1a..7e8b7e44e4 100644 --- a/gtk2_ardour/mixer_strip.cc +++ b/gtk2_ardour/mixer_strip.cc @@ -1355,6 +1355,8 @@ MixerStrip::update_io_button (boost::shared_ptr route, Width widt set_tooltip (&output_button, tooltip_cstr); } + delete [] tooltip_cstr; + if (each_io_has_one_connection) { if (total_connection_count == ardour_connection_count) { // all connections are to the same track in ardour -- cgit v1.2.3