summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <jan.steffens@ltnglobal.com>2021-05-07 00:43:44 +0200
committerTim-Philipp Müller <tim@centricular.com>2021-05-14 14:37:14 +0100
commit097a72e81faaf8549fcd1e89aa9a899818df28cf (patch)
treef0ad0fc32a78bcbbcc6b7618fc0ef6aced1a9d2d /gst
parent218f924bd0b33d96710848bfaac1ebf7768bc818 (diff)
downloadgstreamer-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.c2
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 =