summaryrefslogtreecommitdiff
path: root/gst/festival
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2011-05-20 00:20:07 +0300
committerStefan Kost <ensonic@users.sf.net>2011-05-20 00:20:07 +0300
commitb1f0f2e83f85bf7395d7526390e1f731c8207f0f (patch)
treed43ac3ff2940f1b7e666560be3a2a4da1c394544 /gst/festival
parented42bca0dda48191ec20598c4b2f7b712c6b6353 (diff)
festival: don't leak fd on error
Diffstat (limited to 'gst/festival')
-rw-r--r--gst/festival/gstfestival.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/festival/gstfestival.c b/gst/festival/gstfestival.c
index dbecfdbe5..6423bf5b9 100644
--- a/gst/festival/gstfestival.c
+++ b/gst/festival/gstfestival.c
@@ -311,6 +311,7 @@ gst_festival_chain (GstPad * pad, GstBuffer * buf)
GST_DEBUG_OBJECT (festival, "issued Parameter.set command");
if (read_response (festival) == FALSE) {
ret = GST_FLOW_ERROR;
+ fclose (fd);
goto out;
}