From fea76a4adf5e9894384a07e2c8ae821df6546dbb Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 23 Jan 2022 07:46:39 -0700 Subject: [PATCH] fix thinko in cleaning up of XML nodes in Session::memento_command_factory() "child" is not an independent object, but points to either before or after, both of which have already been deleted --- libs/ardour/session_command.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/libs/ardour/session_command.cc b/libs/ardour/session_command.cc index 5e545e3086..a35d2f76c1 100644 --- a/libs/ardour/session_command.cc +++ b/libs/ardour/session_command.cc @@ -149,7 +149,6 @@ Session::memento_command_factory(XMLNode *n) delete after; delete before; - delete child; return 0 ; }