msi: Freeing the zero handle always succeeds.

This commit is contained in:
Mike McCormack 2006-06-11 09:51:42 +09:00 committed by Alexandre Julliard
parent 15d302c313
commit a21f9e5587

View file

@ -188,6 +188,9 @@ UINT WINAPI MsiCloseHandle(MSIHANDLE handle)
TRACE("%lx\n",handle);
if (!handle)
return ERROR_SUCCESS;
EnterCriticalSection( &MSI_handle_cs );
info = msihandle2msiinfo(handle, 0);