Browse Source
Missing check for graph manager in JackAPI.
This seems to be the only place where the result of GetGraphManager() is
not checked for null, at least in JackAPI. Found by llvm scan-build.
pull/844/head
Florian Walpen
4 years ago
No known key found for this signature in database
GPG Key ID: E11C40B3BC8863BC
1 changed files with
1 additions and
1 deletions
-
common/JackAPI.cpp
|
|
|
@@ -510,7 +510,7 @@ LIB_EXPORT int jack_port_tie(jack_port_t* src, jack_port_t* dst) |
|
|
|
jack_error("jack_port_tie called with ports not belonging to the same client"); |
|
|
|
return -1; |
|
|
|
} else { |
|
|
|
return manager->GetPort(mydst)->Tie(mysrc); |
|
|
|
return (manager ? manager->GetPort(mydst)->Tie(mysrc) : -1); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|