Fix possible deref of 0 pointer (#4815).
git-svn-id: svn://localhost/ardour2/branches/3.0@11793 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
f7497258ea
commit
9e67e1f1f0
@ -1065,6 +1065,9 @@ EngineControl::find_jack_servers (vector<string>& strings)
|
||||
#endif
|
||||
|
||||
jack_servers = scanner (path, jack_server_filter, 0, false, true);
|
||||
if (!jack_servers) {
|
||||
return;
|
||||
}
|
||||
|
||||
vector<string *>::iterator iter;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user