mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
Fix memory leak.
git-svn-id: svn://localhost/ardour2/branches/3.0@4606 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
900309993c
commit
87c7b62103
1 changed files with 2 additions and 0 deletions
|
|
@ -108,6 +108,8 @@ ControlList::~ControlList()
|
||||||
for (EventList::iterator x = _events.begin(); x != _events.end(); ++x) {
|
for (EventList::iterator x = _events.begin(); x != _events.end(); ++x) {
|
||||||
delete (*x);
|
delete (*x);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
delete _curve;
|
||||||
}
|
}
|
||||||
|
|
||||||
boost::shared_ptr<ControlList>
|
boost::shared_ptr<ControlList>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue