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) ...@@ -3,6 +3,8 @@ ver 0.21.13 (not yet released)
- cdio_paranoia: require libcdio-paranoia 10.2+0.93+1 - cdio_paranoia: require libcdio-paranoia 10.2+0.93+1
* decoder * decoder
- mad: fix crackling sound (0.21.12 regression) - mad: fix crackling sound (0.21.12 regression)
* output
- jack: improved Windows compatibility
ver 0.21.12 (2019/08/03) ver 0.21.12 (2019/08/03)
* decoder * decoder
......
...@@ -531,7 +531,10 @@ JackOutput::Start() ...@@ -531,7 +531,10 @@ JackOutput::Start()
jports = nullptr; jports = nullptr;
} }
AtScopeExit(jports) { free(jports); }; AtScopeExit(jports) {
if (jports != nullptr)
jack_free(jports);
};
assert(num_dports > 0); 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