summaryrefslogtreecommitdiff
path: root/ext/rsvg
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-08-31 13:14:02 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-08-31 13:14:02 +0100
commit10d67eda7a2efff834e67b6c34a092494005a1b0 (patch)
treee2318dc4994c6395c13503fa05e5c2f5502b29ff /ext/rsvg
parentd94d572e16c590ed619bfaed23100b80516ce6f7 (diff)
GstAdapter is not a GstObject and should be freed with g_object_unref()
Diffstat (limited to 'ext/rsvg')
-rw-r--r--ext/rsvg/gstrsvgdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/rsvg/gstrsvgdec.c b/ext/rsvg/gstrsvgdec.c
index 875bb62be..8ddb2aabf 100644
--- a/ext/rsvg/gstrsvgdec.c
+++ b/ext/rsvg/gstrsvgdec.c
@@ -114,7 +114,7 @@ gst_rsvg_dec_finalize (GObject * object)
GstRsvgDec *rsvg = GST_RSVG_DEC (object);
if (rsvg->adapter) {
- gst_object_unref (rsvg->adapter);
+ g_object_unref (rsvg->adapter);
rsvg->adapter = NULL;
}