riched20: Fix a typo in CreateIRichEditOle.
This commit is contained in:
parent
cd3b688331
commit
2a55f8d663
|
@ -1517,7 +1517,7 @@ LRESULT CreateIRichEditOle(ME_TextEditor *editor, LPVOID *ppObj)
|
|||
return 0;
|
||||
}
|
||||
reo->clientSite = CreateOleClientSite(reo);
|
||||
if (!reo->txtSel)
|
||||
if (!reo->clientSite)
|
||||
{
|
||||
ITextSelection_Release(&reo->txtSel->ITextSelection_iface);
|
||||
heap_free(reo);
|
||||
|
|
Loading…
Reference in New Issue