From a14920e50fc82f832ff75c27e53ec87defe0d000 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 26 Apr 2007 14:25:42 +0200 Subject: [PATCH] cabinet: Make sure we don't try to close an invalid file handle. --- dlls/cabinet/fdi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/cabinet/fdi.c b/dlls/cabinet/fdi.c index cb589491d51..c4278de711f 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; } } -- 2.11.4.GIT