From b167e6f2ed3db9c649871ad9998fb4ca8dd5f5db Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 18 May 2021 18:02:22 -0600 Subject: [PATCH] fix crash when deleting a marker the line (if non-null) is owned by the marker's group, and will be deleted when the group is --- gtk2_ardour/marker.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/gtk2_ardour/marker.cc b/gtk2_ardour/marker.cc index dd225121b0..f1e8da3365 100644 --- a/gtk2_ardour/marker.cc +++ b/gtk2_ardour/marker.cc @@ -333,7 +333,6 @@ ArdourMarker::~ArdourMarker () /* destroying the parent group destroys its contents, namely any polygons etc. that we added */ delete group; - delete _track_canvas_line; delete points; }