mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +01:00
Fixed double delete in Stateful::add_instant_xml().
git-svn-id: svn://localhost/ardour2/trunk@690 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
433d9a5fc3
commit
3a5a338f80
7 changed files with 27 additions and 45 deletions
|
|
@ -82,7 +82,7 @@ Stateful::add_instant_xml (XMLNode& node, const string& dir)
|
|||
}
|
||||
|
||||
_instant_xml->remove_nodes_and_delete (node.name());
|
||||
_instant_xml->add_child_nocopy (node);
|
||||
_instant_xml->add_child_copy (node);
|
||||
|
||||
XMLTree tree;
|
||||
tree.set_filename(dir+"/instant.xml");
|
||||
|
|
@ -134,4 +134,3 @@ Stateful::instant_xml (const string& str, const string& dir)
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue