output/jack: use jack_free() for Windows compatibility
This commit is contained in:
parent
9d24f68f51
commit
8b399b7133
@ -537,7 +537,10 @@ JackOutput::Start()
|
||||
jports = nullptr;
|
||||
}
|
||||
|
||||
AtScopeExit(jports) { free(jports); };
|
||||
AtScopeExit(jports) {
|
||||
if (jports != nullptr)
|
||||
jack_free(jports);
|
||||
};
|
||||
|
||||
assert(num_dports > 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user