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:
Edward Hervey 2014-04-16 15:18:44 +02:00
parent bf043208cd
commit c947e820cf

View File

@ -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;
} }