Commit 3c32b3c1 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

mfplat: Do not make a copy when setting GUID attribute (Valgrind).

parent c091f9b7
......@@ -1651,7 +1651,8 @@ HRESULT attributes_SetGUID(struct attributes *attributes, REFGUID key, REFGUID v
{
PROPVARIANT attrval;
InitPropVariantFromCLSID(value, &attrval);
attrval.vt = VT_CLSID;
attrval.u.puuid = (CLSID *)value;
return attributes_set_item(attributes, key, &attrval);
}
......
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