diff options
author | Carl Hetherington <carl@carlh.net> | 2012-04-07 10:05:17 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-04-07 10:05:17 +0000 |
commit | ef91c968833702a47afba949e1ca60fd138a2891 (patch) | |
tree | 7f39952a1c67cc4eeee24e3b31bb59a62f22e1e9 | |
parent | d23a97a6acd0c12c0694accaf6c875a13d5fcb1b (diff) |
Fix possible null pointer dereference (#4813).
git-svn-id: svn://localhost/ardour2/branches/3.0@11814 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | libs/ardour/session.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 624e5df13d..edb8ba80cf 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -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); } } |