d3dvideosink: Fix navigation event leak

Fixing regression introduced in 6c2f6c3bd4

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4863>
This commit is contained in:
Seungha Yang 2023-06-15 01:36:25 +09:00 committed by GStreamer Marge Bot
parent 94eadc9810
commit 110ec5d4b2

View file

@ -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);
}
}