From 845dcf7ec5ca1cdf588e33e6f77739dee2ef0dab Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Mon, 14 Nov 2022 13:53:02 +0100 Subject: [PATCH] imagesequencesrc: Don't leak caps Part-of: --- subprojects/gst-plugins-good/gst/multifile/gstimagesequencesrc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/subprojects/gst-plugins-good/gst/multifile/gstimagesequencesrc.c b/subprojects/gst-plugins-good/gst/multifile/gstimagesequencesrc.c index 90dc9ff..8581e73 100644 --- a/subprojects/gst-plugins-good/gst/multifile/gstimagesequencesrc.c +++ b/subprojects/gst-plugins-good/gst/multifile/gstimagesequencesrc.c @@ -531,6 +531,8 @@ gst_image_sequence_src_set_caps (GstImageSequenceSrc * self, GstCaps * caps) gst_pad_set_caps (GST_BASE_SRC_PAD (self), new_caps); GST_DEBUG_OBJECT (self, "Setting new caps: %" GST_PTR_FORMAT, new_caps); + + gst_caps_unref (new_caps); } /* Call with LOCK */ -- 2.7.4