[gst-cvs] gst-plugins-base: subparse: GstAdapter is not a GstObject and should be freed with g_object_unref

Tim Mueller tpm at kemper.freedesktop.org
Tue Sep 1 07:17:12 PDT 2009


Module: gst-plugins-base
Branch: master
Commit: 889c318798d618b252c7b34079ec65b2bf0d1969
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=889c318798d618b252c7b34079ec65b2bf0d1969

Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date:   Tue Sep  1 15:06:51 2009 +0100

subparse: GstAdapter is not a GstObject and should be freed with g_object_unref

---

 gst/subparse/gstsubparse.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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;
   }
 





More information about the Gstreamer-commits mailing list