summaryrefslogtreecommitdiffstats
path: root/ext/esd
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2007-03-05 18:43:29 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2007-03-05 18:43:29 +0000
commite1fcfeab25f58a5ee81e0087a80d186e1efc0313 (patch)
tree6e9eddde03bd6dd025a1651cdc1ec78e75a10f60 /ext/esd
parente87cd3fd7a0f1bea1f06b84494dec1d915b0282d (diff)
ext/esd/esdsink.c: Unref static pad template after using it.
Original commit message from CVS: * ext/esd/esdsink.c: (gst_esdsink_open): Unref static pad template after using it.
Diffstat (limited to 'ext/esd')
-rw-r--r--ext/esd/esdsink.c1
1 files changed, 1 insertions, 0 deletions
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;