Commit 57a6b6fb authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msi: Release the package in MsiGetMode and MsiSetMode.

parent e5dd5099
......@@ -721,6 +721,7 @@ BOOL WINAPI MsiGetMode(MSIHANDLE hInstall, MSIRUNMODE iRunMode)
r = TRUE;
}
msiobj_release( &package->hdr );
return r;
}
......@@ -774,6 +775,7 @@ UINT WINAPI MsiSetMode(MSIHANDLE hInstall, MSIRUNMODE iRunMode, BOOL fState)
r = ERROR_ACCESS_DENIED;
}
msiobj_release( &package->hdr );
return r;
}
......
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