Synchronize with trunk revision 59636 (just before Alex's CreateProcess revamp).
[reactos.git] / dll / win32 / kernel32 / client / file / find.c
index c73fb29..a1d481a 100644 (file)
@@ -547,7 +547,6 @@ FindClose(HANDLE hFindFile)
         }
 
         RtlFreeHeap(RtlGetProcessHeap(), 0, FindDataHandle);
-        _SEH2_YIELD(return TRUE);
     }
     _SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
     {
@@ -555,6 +554,7 @@ FindClose(HANDLE hFindFile)
         _SEH2_YIELD(return FALSE);
     }
     _SEH2_END;
+    return TRUE;
 }