mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
Plug some mixer memory leaks
This commit is contained in:
parent
1d2a76f239
commit
c6a7c9417e
3 changed files with 6 additions and 0 deletions
|
|
@ -108,6 +108,9 @@ Panner2d::~Panner2d()
|
|||
for (Targets::iterator i = speakers.begin(); i != speakers.end(); ++i) {
|
||||
delete *i;
|
||||
}
|
||||
for (Targets::iterator i = signals.begin(); i != signals.end(); ++i) {
|
||||
delete *i;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
|
|
@ -4234,6 +4234,7 @@ ProcessorWindowProxy::processor_going_away ()
|
|||
send DropReferences is about to be deleted, but lets do it anyway.
|
||||
*/
|
||||
going_away_connection.disconnect();
|
||||
delete this;
|
||||
}
|
||||
|
||||
ARDOUR::SessionHandlePtr*
|
||||
|
|
@ -4369,6 +4370,7 @@ PluginPinWindowProxy::processor_going_away ()
|
|||
_window = 0;
|
||||
WM::Manager::instance().remove (this);
|
||||
going_away_connection.disconnect();
|
||||
delete this;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
|
|
@ -2289,6 +2289,7 @@ RoutePinWindowProxy::route_going_away ()
|
|||
_window = 0;
|
||||
WM::Manager::instance().remove (this);
|
||||
going_away_connection.disconnect();
|
||||
delete this;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue