Plug some mixer memory leaks

This commit is contained in:
Robin Gareus 2017-01-20 11:54:02 +01:00
parent 1d2a76f239
commit c6a7c9417e
3 changed files with 6 additions and 0 deletions

View file

@ -108,6 +108,9 @@ Panner2d::~Panner2d()
for (Targets::iterator i = speakers.begin(); i != speakers.end(); ++i) { for (Targets::iterator i = speakers.begin(); i != speakers.end(); ++i) {
delete *i; delete *i;
} }
for (Targets::iterator i = signals.begin(); i != signals.end(); ++i) {
delete *i;
}
} }
void void

View file

@ -4234,6 +4234,7 @@ ProcessorWindowProxy::processor_going_away ()
send DropReferences is about to be deleted, but lets do it anyway. send DropReferences is about to be deleted, but lets do it anyway.
*/ */
going_away_connection.disconnect(); going_away_connection.disconnect();
delete this;
} }
ARDOUR::SessionHandlePtr* ARDOUR::SessionHandlePtr*
@ -4369,6 +4370,7 @@ PluginPinWindowProxy::processor_going_away ()
_window = 0; _window = 0;
WM::Manager::instance().remove (this); WM::Manager::instance().remove (this);
going_away_connection.disconnect(); going_away_connection.disconnect();
delete this;
} }
void void

View file

@ -2289,6 +2289,7 @@ RoutePinWindowProxy::route_going_away ()
_window = 0; _window = 0;
WM::Manager::instance().remove (this); WM::Manager::instance().remove (this);
going_away_connection.disconnect(); going_away_connection.disconnect();
delete this;
} }
void void