summaryrefslogtreecommitdiffstats
path: root/ext/esd
diff options
context:
space:
mode:
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;