Commit 7301a709 authored by Rémi Duraffort's avatar Rémi Duraffort

Fix file descriptor leak (cid #1049847)

parent 19f940ab
......@@ -170,6 +170,7 @@ static int intf_Eject( vlc_object_t *p_this, const char *psz_device )
close( fd );
return VLC_EGENERIC;
}
close( fd );
return VLC_SUCCESS;
#else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment