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

Original commit message from CVS:
Just chain up finalize calls (calling parent_class->finalize).
This commit is contained in:
Edgard Lima 2006-01-25 14:44:05 +00:00
parent 3d4493630e
commit 8fe3f07272
3 changed files with 13 additions and 1 deletions

View file

@ -1,3 +1,9 @@
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),

View file

@ -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);
}
/*

View file

@ -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