summaryrefslogtreecommitdiff
path: root/libs/pbd/stateful.cc
diff options
context:
space:
mode:
authorTaybin Rutkin <taybin@taybin.com>2006-07-19 03:49:52 +0000
committerTaybin Rutkin <taybin@taybin.com>2006-07-19 03:49:52 +0000
commit50a4504e488227182374b39c7ea50a1147f3557d (patch)
tree48068cedd3068773fb9fb651df9eaf843dffefa7 /libs/pbd/stateful.cc
parentedde9b59833183904ec7bd7fd49bb2bc8515f7e9 (diff)
Updated config.guess file
Added mac specific ardour2_mac_ui.rc file Fixed some memory leaks in add_instant_xml() usage. Added EXTRA_WARN scons option for pedants. Reformatted xml++.cc into something that wouldn't drive me insane. git-svn-id: svn://localhost/ardour2/trunk@686 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/stateful.cc')
-rw-r--r--libs/pbd/stateful.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/pbd/stateful.cc b/libs/pbd/stateful.cc
index 16aa528f59..f0f820fe9d 100644
--- a/libs/pbd/stateful.cc
+++ b/libs/pbd/stateful.cc
@@ -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_copy (node);
+ _instant_xml->add_child_nocopy (node);
XMLTree tree;
tree.set_filename(dir+"/instant.xml");