projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8714fab
)
fix small memory leak in the tests
author
Robin Gareus
<robin@gareus.org>
Fri, 5 Dec 2014 19:50:32 +0000
(20:50 +0100)
committer
Robin Gareus
<robin@gareus.org>
Fri, 5 Dec 2014 19:57:07 +0000
(20:57 +0100)
libs/ardour/test/automation_list_property_test.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/test/automation_list_property_test.cc
b/libs/ardour/test/automation_list_property_test.cc
index 5bfdff3b89f0fea88104a9d1d568aa4d0fd0ba1f..7206ee8220a5cda12dee65cd38aff473c6e458fe 100644
(file)
--- a/
libs/ardour/test/automation_list_property_test.cc
+++ b/
libs/ardour/test/automation_list_property_test.cc
@@
-84,10
+84,12
@@
AutomationListPropertyTest::basicTest ()
property->add (5, 6, false, false);
property->add (7, 8, false, false);
CPPUNIT_ASSERT_EQUAL (true, property.changed());
+ delete foo;
foo = new XMLNode ("test");
property.get_changes_as_xml (foo);
write_automation_list_xml (foo, test_data_filename);
check_xml (foo, test_data_file2, ignore_properties);
+ delete foo;
}
/** Here's a StatefulDestructible class that has a AutomationListProperty */