mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-05 09:00:54 +00:00
jack: Always use jack_free as specified by the docs
Fixes a crash on Windows due to a CRT mismatch. The JACK installation still uses MSVCRT, and we the Universal CRT for both MinGW and MSVC. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2515>
This commit is contained in:
parent
3b857965e8
commit
8eb3f2a74c
1 changed files with 1 additions and 1 deletions
|
@ -1055,7 +1055,7 @@ gst_jack_audio_src_getcaps (GstBaseSrc * bsrc, GstCaps * filter)
|
|||
if (ports != NULL) {
|
||||
for (; ports[max]; max++);
|
||||
|
||||
free (ports);
|
||||
jack_free (ports);
|
||||
} else
|
||||
max = 0;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue