From 110ec5d4b209813e1f400de009e783d949f5aebb Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Thu, 15 Jun 2023 01:36:25 +0900 Subject: [PATCH] d3dvideosink: Fix navigation event leak Fixing regression introduced in 6c2f6c3bd4dd525eb02c6d7000e84b76663d3daf Part-of: --- subprojects/gst-plugins-bad/sys/d3dvideosink/d3dvideosink.c | 1 + 1 file changed, 1 insertion(+) diff --git a/subprojects/gst-plugins-bad/sys/d3dvideosink/d3dvideosink.c b/subprojects/gst-plugins-bad/sys/d3dvideosink/d3dvideosink.c index 583ef606d6..d27d67b4c4 100644 --- a/subprojects/gst-plugins-bad/sys/d3dvideosink/d3dvideosink.c +++ b/subprojects/gst-plugins-bad/sys/d3dvideosink/d3dvideosink.c @@ -634,6 +634,7 @@ gst_d3dvideosink_navigation_send_event (GstNavigation * navigation, gst_element_post_message (GST_ELEMENT_CAST (sink), gst_navigation_message_new_event (GST_OBJECT_CAST (sink), event)); } + gst_event_unref (event); gst_object_unref (pad); } }