summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-09-01 15:06:51 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-09-01 15:16:17 +0100
commit889c318798d618b252c7b34079ec65b2bf0d1969 (patch)
tree2d0efe12f4e15bbf44ef2a0ce4db1ae4194ef1bf
parent95af14d7bcf16fef0fd427d61eac1d6c044d01fb (diff)
subparse: GstAdapter is not a GstObject and should be freed with g_object_unref
-rw-r--r--gst/subparse/gstsubparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/subparse/gstsubparse.c b/gst/subparse/gstsubparse.c
index 4312c50e3..34cacfacc 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;
}