fix inconsequential (unlikely) memory leak from clang

This commit is contained in:
Paul Davis 2022-01-20 13:39:05 -07:00
parent 97439d8777
commit ee5d3da929

View File

@ -147,6 +147,10 @@ Session::memento_command_factory(XMLNode *n)
/* we failed */
info << string_compose (_("Could not reconstitute MementoCommand from XMLNode. object type = %1 id = %2"), type_name, id.to_s()) << endmsg;
delete after;
delete before;
delete child;
return 0 ;
}