mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
festival: don't leak fd on error
This commit is contained in:
parent
ed42bca0dd
commit
b1f0f2e83f
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue