diff --git a/gtk2_ardour/marker.cc b/gtk2_ardour/marker.cc index f1e8da3365..21893ff7b9 100644 --- a/gtk2_ardour/marker.cc +++ b/gtk2_ardour/marker.cc @@ -331,6 +331,10 @@ ArdourMarker::~ArdourMarker () { CatchDeletion (this); /* EMIT SIGNAL */ + /* not a member of a group that we own, so we must delete it explicitly */ + + delete _track_canvas_line; + /* destroying the parent group destroys its contents, namely any polygons etc. that we added */ delete group; delete points;