diff options
author | Jan Alexander Steffens (heftig) <jan.steffens@ltnglobal.com> | 2021-05-07 00:43:44 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2021-05-14 14:37:14 +0100 |
commit | 097a72e81faaf8549fcd1e89aa9a899818df28cf (patch) | |
tree | f0ad0fc32a78bcbbcc6b7618fc0ef6aced1a9d2d /gst | |
parent | 218f924bd0b33d96710848bfaac1ebf7768bc818 (diff) | |
download | gstreamer-plugins-good-097a72e81faaf8549fcd1e89aa9a899818df28cf.tar.gz |
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/985>
Diffstat (limited to 'gst')
-rw-r--r-- | gst/deinterlace/gstdeinterlace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/deinterlace/gstdeinterlace.c b/gst/deinterlace/gstdeinterlace.c index 1045d9a9c..7a02b89d8 100644 --- a/gst/deinterlace/gstdeinterlace.c +++ b/gst/deinterlace/gstdeinterlace.c @@ -397,9 +397,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 = |