mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +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) {
|
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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue