From b9d8fb3d633f4cd44b6c781acac178b818be892a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 11 Dec 2022 17:36:53 +0000 Subject: [PATCH] timeoverlay: fix pad leak Spotted by Jiri Uncovsky. Part-of: --- subprojects/gst-plugins-base/ext/pango/gsttimeoverlay.c | 1 + 1 file changed, 1 insertion(+) diff --git a/subprojects/gst-plugins-base/ext/pango/gsttimeoverlay.c b/subprojects/gst-plugins-base/ext/pango/gsttimeoverlay.c index eea2bfa..0711010 100644 --- a/subprojects/gst-plugins-base/ext/pango/gsttimeoverlay.c +++ b/subprojects/gst-plugins-base/ext/pango/gsttimeoverlay.c @@ -386,6 +386,7 @@ gst_time_overlay_init (GstTimeOverlay * overlay) video_sink = gst_element_get_static_pad (GST_ELEMENT (overlay), "video_sink"); overlay->orig_video_event = GST_PAD_EVENTFUNC (video_sink); gst_pad_set_event_function (video_sink, gst_time_overlay_video_event); + gst_object_unref (video_sink); } static void -- 2.7.4