output/jack: use jack_free() for Windows compatibility
This commit is contained in:
parent
848c63e2d5
commit
bcccc8f66c
2
NEWS
2
NEWS
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue