Commit 8fe3f072 authored by Edgard Gusmão Lima's avatar Edgard Gusmão Lima

Just chain up finalize calls (calling parent_class->finalize).

Original commit message from CVS:
Just chain up finalize calls (calling parent_class->finalize).
parent 3d449363
2006-01-25 Edgard Lima <edgard.lima@indt.org.br>
* ext/libmms/gstmms.c: (gst_mms_finalize):
* ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_finalize):
Just chain up finalize calls (calling parent_class->finalize).
2006-01-25 Edgard Lima <edgard.lima@indt.org.br>
* ext/libmms/gstmms.c: (gst_mms_finalize), (gst_mms_set_property),
......
......@@ -163,13 +163,16 @@ gst_mms_finalize (GObject * gobject)
{
GstMMS *mmssrc = GST_MMS (gobject);
gst_mms_stop (mmssrc);
gst_mms_stop (GST_BASE_SRC (mmssrc));
if (mmssrc->uri_name) {
g_free (mmssrc->uri_name);
mmssrc->uri_name = NULL;
}
if (G_OBJECT_CLASS (parent_class)->finalize)
G_OBJECT_CLASS (parent_class)->finalize (gobject);
}
/*
......
......@@ -198,6 +198,9 @@ gst_neonhttp_src_finalize (GObject * gobject)
ne_free (this->uristr);
}
if (G_OBJECT_CLASS (parent_class)->finalize)
G_OBJECT_CLASS (parent_class)->finalize (gobject);
}
int
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment