Fix possible null pointer dereference (#4813).
git-svn-id: svn://localhost/ardour2/branches/3.0@11814 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
d23a97a6ac
commit
ef91c96883
@ -4364,7 +4364,7 @@ Session::start_time_changed (framepos_t old)
|
||||
|
||||
Location* l = _locations->auto_loop_location ();
|
||||
|
||||
if (l->start() == old) {
|
||||
if (l && l->start() == old) {
|
||||
l->set_start (s->start(), true);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user