mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
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:
parent
94eadc9810
commit
110ec5d4b2
1 changed files with 1 additions and 0 deletions
|
@ -634,6 +634,7 @@ gst_d3dvideosink_navigation_send_event (GstNavigation * navigation,
|
||||||
gst_element_post_message (GST_ELEMENT_CAST (sink),
|
gst_element_post_message (GST_ELEMENT_CAST (sink),
|
||||||
gst_navigation_message_new_event (GST_OBJECT_CAST (sink), event));
|
gst_navigation_message_new_event (GST_OBJECT_CAST (sink), event));
|
||||||
}
|
}
|
||||||
|
gst_event_unref (event);
|
||||||
gst_object_unref (pad);
|
gst_object_unref (pad);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue