summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ext/esd/esdsink.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1ac0c924..50aec588 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2007-03-05 Jan Schmidt <thaytan@mad.scientist.com>
+ * ext/esd/esdsink.c: (gst_esdsink_open):
+ Unref static pad template after using it.
+
+2007-03-05 Jan Schmidt <thaytan@mad.scientist.com>
+
* ext/gconf/gstswitchsink.c: (gst_switch_sink_dispose),
(gst_switch_commit_new_kid):
Fix up the reference counting of the child elements.
diff --git a/ext/esd/esdsink.c b/ext/esd/esdsink.c
index 3946b301..d46af07b 100644
--- a/ext/esd/esdsink.c
+++ b/ext/esd/esdsink.c
@@ -240,6 +240,7 @@ gst_esdsink_open (GstAudioSink * asink)
pad_template = gst_static_pad_template_get (&sink_factory);
esdsink->cur_caps = gst_caps_copy (gst_pad_template_get_caps (pad_template));
+ gst_object_unref (pad_template);
for (i = 0; i < esdsink->cur_caps->structs->len; i++) {
GstStructure *s;