Commit a21f9e55 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

msi: Freeing the zero handle always succeeds.

parent 15d302c3
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment