msi: Freeing the zero handle always succeeds.
This commit is contained in:
parent
15d302c313
commit
a21f9e5587
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue