Commit 8a38d303 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

msi: Allocate a buffer in WCHARs not CHARs.

parent cae37b18
......@@ -140,7 +140,7 @@ static UINT set_user_sid_prop( MSIPACKAGE *package )
LookupAccountNameW( NULL, user_name, NULL, &size, NULL, &dom_size, &use );
psid = msi_alloc( size );
dom = msi_alloc( dom_size );
dom = msi_alloc( dom_size*sizeof (WCHAR) );
if (!psid || !dom)
{
r = ERROR_OUTOFMEMORY;
......
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