Commit a14920e5 authored by Alexandre Julliard's avatar Alexandre Julliard

cabinet: Make sure we don't try to close an invalid file handle.

parent 55a57c21
......@@ -2690,6 +2690,7 @@ BOOL __cdecl FDICopy(
PFDI_INT(hfdi)->perf->erfOper = FDIERROR_USER_ABORT;
PFDI_INT(hfdi)->perf->erfType = 0;
PFDI_INT(hfdi)->perf->fError = TRUE;
filehf = 0;
goto bail_and_fail;
}
}
......
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