From 889c318798d618b252c7b34079ec65b2bf0d1969 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 1 Sep 2009 15:06:51 +0100 Subject: [PATCH] subparse: GstAdapter is not a GstObject and should be freed with g_object_unref --- gst/subparse/gstsubparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/subparse/gstsubparse.c b/gst/subparse/gstsubparse.c index 4312c50..34cacfa 100644 --- a/gst/subparse/gstsubparse.c +++ b/gst/subparse/gstsubparse.c @@ -150,7 +150,7 @@ gst_sub_parse_dispose (GObject * object) } if (subparse->adapter) { - gst_object_unref (subparse->adapter); + g_object_unref (subparse->adapter); subparse->adapter = NULL; } -- 2.7.4