mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-23 07:06:23 +01:00
plug some memory leaks in libardour
This commit is contained in:
parent
c4c6c38dbd
commit
e3607a4c8b
8 changed files with 42 additions and 26 deletions
|
|
@ -126,6 +126,8 @@ Processor::state (bool full_state)
|
|||
XMLNode& automation = Automatable::get_automation_xml_state();
|
||||
if (!automation.children().empty() || !automation.properties().empty()) {
|
||||
node->add_child_nocopy (automation);
|
||||
} else {
|
||||
delete &automation;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue