From b1f0f2e83f85bf7395d7526390e1f731c8207f0f Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Fri, 20 May 2011 00:20:07 +0300 Subject: [PATCH] festival: don't leak fd on error --- gst/festival/gstfestival.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/festival/gstfestival.c b/gst/festival/gstfestival.c index dbecfdb..6423bf5 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; } -- 2.7.4