fix segfault in libardour unit-tests (possible crash in mackie sf)
This commit is contained in:
parent
ff427be0fa
commit
f519edbe8e
|
@ -384,7 +384,9 @@ Surface::setup_master ()
|
|||
}
|
||||
|
||||
if (!m) {
|
||||
_master_fader->set_control (boost::shared_ptr<AutomationControl>());
|
||||
if (_master_fader) {
|
||||
_master_fader->set_control (boost::shared_ptr<AutomationControl>());
|
||||
}
|
||||
master_connection.disconnect ();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user