diff --git a/libs/ardour/test/playlist_layering_test.cc b/libs/ardour/test/playlist_layering_test.cc index 278fb0ab78..218cb2b035 100644 --- a/libs/ardour/test/playlist_layering_test.cc +++ b/libs/ardour/test/playlist_layering_test.cc @@ -83,6 +83,7 @@ void PlaylistLayeringTest::tearDown () { AudioEngine::instance()->remove_session (); + delete _session; EnumWriter::destroy (); MIDI::Manager::destroy (); AudioEngine::destroy ();