msi: Avoid an unnecessary strdup.

This commit is contained in:
Mike McCormack 2006-10-10 19:19:56 +09:00 committed by Alexandre Julliard
parent 07c85fe895
commit 47949afc35
1 changed files with 2 additions and 3 deletions

View File

@ -390,11 +390,10 @@ UINT MSI_ViewFetch(MSIQUERY *query, MSIRECORD **prec)
if( type & MSITYPE_STRING )
{
LPWSTR sval;
LPCWSTR sval;
sval = MSI_makestring( query->db, ival );
sval = msi_string_lookup_id( query->db->strings, ival );
MSI_RecordSetStringW( rec, i, sval );
msi_free( sval );
}
else
{