diff --git a/common/JackAPI.cpp b/common/JackAPI.cpp index 99661e63..03285ba9 100644 --- a/common/JackAPI.cpp +++ b/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); } }