mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
fix inconsequential (unlikely) memory leak from clang
This commit is contained in:
parent
97439d8777
commit
ee5d3da929
1 changed files with 4 additions and 0 deletions
|
|
@ -147,6 +147,10 @@ Session::memento_command_factory(XMLNode *n)
|
||||||
/* we failed */
|
/* we failed */
|
||||||
info << string_compose (_("Could not reconstitute MementoCommand from XMLNode. object type = %1 id = %2"), type_name, id.to_s()) << endmsg;
|
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 ;
|
return 0 ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue