server: return NULL from device_open_file on failure to allocate fd

Sebastian Lackner sebastian at
Fri Jun 19 17:32:51 CDT 2015

On 20.06.2015 00:22, Daniel Lehman wrote:

Does this patch address a real issue or is it just by looking at the source?
&file->obj should not lead to an invalid memory access because its just a more
convenient way to do a type conversion. If file == NULL, then &file->obj will
also be NULL. Of course its a matter of taste what is easier to read.


More information about the wine-devel mailing list