X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Feditor_markers.cc;h=0504c08095a52cab0a917a1f6c6625721e38e2d5;hb=beb3eea62bf217d0a7b2a86a96d5c375329df10a;hp=352eb260408b7d8a0442e297e260b90086e714df;hpb=61b3131303e02c3d45737125abfd08445c3964f3;p=ardour.git diff --git a/gtk2_ardour/editor_markers.cc b/gtk2_ardour/editor_markers.cc index 352eb26040..0504c08095 100644 --- a/gtk2_ardour/editor_markers.cc +++ b/gtk2_ardour/editor_markers.cc @@ -247,13 +247,8 @@ void Editor::ensure_cd_marker_updated (LocationMarkers * lam, Location * locatio Editor::LocationMarkers::~LocationMarkers () { - if (start) { - delete start; - } - - if (end) { - delete end; - } + delete start; + delete end; } Editor::LocationMarkers *