Remove erroneous delete of States; they are owned by the subclass that adds them.
git-svn-id: svn://localhost/ardour2/branches/3.0@6666 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
5526aa2935
commit
dbc3faa913
@ -47,10 +47,6 @@ Stateful::~Stateful ()
|
||||
// means it needs to live on indefinately.
|
||||
|
||||
delete _instant_xml;
|
||||
|
||||
for (list<StateBase*>::iterator i = _states.begin(); i != _states.end(); ++i) {
|
||||
delete *i;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user