mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-16 11:15:31 +00:00
deinterlace: Plug a method subobject leak
Changing the method would leak the previous method. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/976>
This commit is contained in:
parent
d9a0313aa0
commit
fa1cc0a81f
1 changed files with 1 additions and 1 deletions
|
@ -411,9 +411,9 @@ gst_deinterlace_set_method (GstDeinterlace * self, GstDeinterlaceMethods method)
|
|||
#if 0
|
||||
gst_child_proxy_child_removed (GST_OBJECT (self),
|
||||
GST_OBJECT (self->method));
|
||||
#endif
|
||||
gst_object_unparent (GST_OBJECT (self->method));
|
||||
self->method = NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
method_type =
|
||||
|
|
Loading…
Reference in a new issue