Commit 47949afc authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

msi: Avoid an unnecessary strdup.

parent 07c85fe8
......@@ -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
{
......
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