mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +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");
|
GST_DEBUG_OBJECT (festival, "issued Parameter.set command");
|
||||||
if (read_response (festival) == FALSE) {
|
if (read_response (festival) == FALSE) {
|
||||||
ret = GST_FLOW_ERROR;
|
ret = GST_FLOW_ERROR;
|
||||||
|
fclose (fd);
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue