summaryrefslogtreecommitdiffstats
path: root/ext/esd
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2004-09-12 22:57:26 +0000
committerDavid Schleef <ds@schleef.org>2004-09-12 22:57:26 +0000
commita5bb47bcd093466d2fa09c875893bec1c8719042 (patch)
tree6b4606d3d89bc1b88c6753e5ccea19dd7f9b130e /ext/esd
parent2b81e2bb1a1c34ec2a4b402513ddcd88cf4ed678 (diff)
Fixes: #151879, #151881, #151882, #151883, #151884, #151886, #151887, #152102, #152247.
Original commit message from CVS: Fixes: #151879, #151881, #151882, #151883, #151884, #151886, #151887, #152102, #152247. * examples/indexing/indexmpeg.c: 64-bit warning fixes. * examples/seeking/cdparanoia.c: same * examples/seeking/cdplayer.c: same * examples/seeking/seek.c: same * examples/seeking/spider_seek.c: same * examples/seeking/vorbisfile.c: same * examples/stats/mp2ogg.c: same * ext/esd/esdsink.c: (gst_esdsink_class_init), (gst_esdsink_dispose): Dispose of element properly. * ext/ivorbis/vorbisfile.c: (gst_ivorbisfile_seek): 64-bit warning fixes. * ext/nas/nassink.c: (gst_nassink_class_init), (gst_nassink_dispose): Dispose of element correctly. * gst/wavenc/gstwavenc.c: (gst_wavenc_chain): Fix leak. * sys/ximage/ximagesink.c: (gst_ximagesink_check_xshm_calls), (gst_ximagesink_ximage_new), (gst_ximagesink_ximage_destroy): Fix 64-bit warning. * sys/xvimage/xvimagesink.c: (gst_xvimagesink_check_xshm_calls), (gst_xvimagesink_xvimage_new), (gst_xvimagesink_xvimage_destroy): Fix 64-bit warning.
Diffstat (limited to 'ext/esd')
-rw-r--r--ext/esd/esdsink.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/esd/esdsink.c b/ext/esd/esdsink.c
index 7ccd0b9f..f8732f8e 100644
--- a/ext/esd/esdsink.c
+++ b/ext/esd/esdsink.c
@@ -68,6 +68,7 @@ static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE ("sink",
static void gst_esdsink_base_init (gpointer g_class);
static void gst_esdsink_class_init (gpointer g_class, gpointer class_data);
static void gst_esdsink_init (GTypeInstance * instance, gpointer g_class);
+static void gst_esdsink_dispose (GObject * object);
static gboolean gst_esdsink_open_audio (GstEsdsink * sink);
static void gst_esdsink_close_audio (GstEsdsink * sink);
@@ -145,6 +146,7 @@ gst_esdsink_class_init (gpointer g_class, gpointer class_data)
gobject_class->set_property = gst_esdsink_set_property;
gobject_class->get_property = gst_esdsink_get_property;
+ gobject_class->dispose = gst_esdsink_dispose;
gstelement_class->change_state = gst_esdsink_change_state;
gstelement_class->set_clock = gst_esdsink_set_clock;
@@ -186,6 +188,14 @@ gst_esdsink_init (GTypeInstance * instance, gpointer g_class)
esdsink->link_open = FALSE;
}
+static void
+gst_esdsink_dispose (GObject * object)
+{
+ GstEsdsink *esdsink = GST_ESDSINK (object);
+
+ g_free (esdsink->host);
+}
+
#ifdef unused
static GstPadLinkReturn
gst_esdsink_link (GstPad * pad, const GstCaps * caps)