From 4383cce99303117743bc952cb1ec6e7e3418b540 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 7 Oct 2011 19:49:21 +0000 Subject: [PATCH] Fix crash when moving end marker after deleting loop range (#4357). git-svn-id: svn://localhost/ardour2/branches/3.0@10196 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/session.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index a42f2d4430..c15ae5fa26 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -4199,7 +4199,7 @@ Session::end_time_changed (framepos_t old) Location* l = _locations->auto_loop_location (); - if (l->end() == old) { + if (l && l->end() == old) { l->set_end (s->end(), true); } }