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
@ -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…
Reference in New Issue
Block a user