Commit bcccc8f6 authored by Max Kellermann's avatar Max Kellermann

output/jack: use jack_free() for Windows compatibility

parent 848c63e2
......@@ -3,6 +3,8 @@ ver 0.21.13 (not yet released)
- cdio_paranoia: require libcdio-paranoia 10.2+0.93+1
* decoder
- mad: fix crackling sound (0.21.12 regression)
* output
- jack: improved Windows compatibility
ver 0.21.12 (2019/08/03)
* decoder
......
......@@ -531,7 +531,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