festival: don't leak fd on error
This commit is contained in:
parent
ed42bca0dd
commit
b1f0f2e83f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user