Module: wine Branch: master Commit: a14920e50fc82f832ff75c27e53ec87defe0d000 URL: http://source.winehq.org/git/wine.git/?a=commit;h=a14920e50fc82f832ff75c27e5...
Author: Alexandre Julliard julliard@winehq.org Date: Thu Apr 26 14:25:42 2007 +0200
cabinet: Make sure we don't try to close an invalid file handle.
---
dlls/cabinet/fdi.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/cabinet/fdi.c b/dlls/cabinet/fdi.c index cb58949..c4278de 100644 --- a/dlls/cabinet/fdi.c +++ b/dlls/cabinet/fdi.c @@ -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; } }