forked from Mirrors/wine-wine
ole32: Avoid erroneously freeing a variable in ReadFmtUserTypeStg.
parent
96c9b0fb84
commit
3cdd1abd09
|
@ -8771,7 +8771,10 @@ HRESULT WINAPI ReadFmtUserTypeStg (LPSTORAGE pstg, CLIPFORMAT* pcf, LPOLESTR* lp
|
|||
*pcf = RegisterClipboardFormatW( szOleTypeName );
|
||||
|
||||
if( lplpszUserType )
|
||||
{
|
||||
*lplpszUserType = szCLSIDName;
|
||||
szCLSIDName = NULL;
|
||||
}
|
||||
|
||||
end:
|
||||
CoTaskMemFree( szCLSIDName );
|
||||
|
|
Loading…
Reference in New Issue