diff --git a/subprojects/gst-plugins-good/ext/jack/gstjackaudiosrc.c b/subprojects/gst-plugins-good/ext/jack/gstjackaudiosrc.c index 40784fa4a8..85dff1f22f 100644 --- a/subprojects/gst-plugins-good/ext/jack/gstjackaudiosrc.c +++ b/subprojects/gst-plugins-good/ext/jack/gstjackaudiosrc.c @@ -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 {