Commit 8b399b71 authored by Max Kellermann's avatar Max Kellermann

output/jack: use jack_free() for Windows compatibility

parent 9d24f68f
......@@ -537,7 +537,10 @@ JackOutput::Start()
jports = nullptr;
}
AtScopeExit(jports) { free(jports); };
AtScopeExit(jports) {
if (jports != nullptr)
jack_free(jports);
};
assert(num_dports > 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment