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:
Carl Hetherington 2012-04-07 10:05:17 +00:00
parent d23a97a6ac
commit ef91c96883

View File

@ -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);
}
}