fix thinko in cleaning up of XML nodes in Session::memento_command_factory()
"child" is not an independent object, but points to either before or after, both of which have already been deleted
This commit is contained in:
parent
6ff1d86cad
commit
fea76a4adf
@ -149,7 +149,6 @@ Session::memento_command_factory(XMLNode *n)
|
||||
|
||||
delete after;
|
||||
delete before;
|
||||
delete child;
|
||||
|
||||
return 0 ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user