13
0

fix small memory leak in the tests

This commit is contained in:
Robin Gareus 2014-12-05 20:50:32 +01:00
parent 8714fab1bc
commit fb406e5b36

View File

@ -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 */