dvbsrc: Don't close a fd that wasn't open
We are handling the failure cases in this block where the open failed CID #206179
This commit is contained in:
parent
bf043208cd
commit
c947e820cf
@ -1026,7 +1026,6 @@ gst_dvbsrc_open_frontend (GstDvbSrc * object, gboolean writable)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
close (object->fd_frontend);
|
|
||||||
g_free (frontend_dev);
|
g_free (frontend_dev);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user