From 123fcf3cffe048b4a16bbb7442a9cd07659f4284 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 25 Feb 2017 19:55:22 +0100 Subject: [PATCH] fix potential crash bug in RouteProcessorSelection --- gtk2_ardour/route_processor_selection.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/route_processor_selection.cc b/gtk2_ardour/route_processor_selection.cc index 836e63fcfe..9429005e6f 100644 --- a/gtk2_ardour/route_processor_selection.cc +++ b/gtk2_ardour/route_processor_selection.cc @@ -119,8 +119,8 @@ RouteProcessorSelection::remove (AxisView* r) AxisViewSelection::iterator i; if ((i = find (axes.begin(), axes.end(), r)) != axes.end()) { - (*i)->set_selected (false); axes.erase (i); + (*i)->set_selected (false); } } -- 2.30.2