msi: Allocate a buffer in WCHARs not CHARs.

This commit is contained in:
Mike McCormack 2007-01-25 23:05:19 +09:00 committed by Alexandre Julliard
parent cae37b18fd
commit 8a38d3038c
1 changed files with 1 additions and 1 deletions

View File

@ -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;