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:
@@ -149,7 +149,6 @@ Session::memento_command_factory(XMLNode *n)
|
||||
|
||||
delete after;
|
||||
delete before;
|
||||
delete child;
|
||||
|
||||
return 0 ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user