From 773d20f330c0fe3e816ca7c98bd48f3eeb5d47aa Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 26 Dec 2011 19:01:57 +0000 Subject: [PATCH] Fix warnings during test runs. git-svn-id: svn://localhost/ardour2/branches/3.0@11077 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/test/playlist_layering_test.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libs/ardour/test/playlist_layering_test.cc b/libs/ardour/test/playlist_layering_test.cc index 218cb2b035..1371b0cfae 100644 --- a/libs/ardour/test/playlist_layering_test.cc +++ b/libs/ardour/test/playlist_layering_test.cc @@ -82,6 +82,12 @@ PlaylistLayeringTest::setUp () void PlaylistLayeringTest::tearDown () { + _playlist.reset (); + _source.reset (); + for (int i = 0; i < 16; ++i) { + _region[i].reset (); + } + AudioEngine::instance()->remove_session (); delete _session; EnumWriter::destroy ();