fixing leaking tooltip string
authorPaul Davis <paul@linuxaudiosystems.com>
Fri, 26 Feb 2016 19:36:44 +0000 (14:36 -0500)
committerPaul Davis <paul@linuxaudiosystems.com>
Fri, 26 Feb 2016 19:36:51 +0000 (14:36 -0500)
Manually created version of PR #211

gtk2_ardour/mixer_strip.cc

index d0c30c9f1a6c63c28d29799997033ccede346716..7e8b7e44e48e260fafe0704ce4c4ed5a457f0b90 100644 (file)
@@ -1355,6 +1355,8 @@ MixerStrip::update_io_button (boost::shared_ptr<ARDOUR::Route> 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