riched20: Do not destroy IRichEditOle if still referenced.
This commit is contained in:
parent
9006a013b0
commit
27ac8d265e
|
@ -2889,7 +2889,7 @@ void ME_DestroyEditor(ME_TextEditor *editor)
|
|||
ITextHost_Release(editor->texthost);
|
||||
if (editor->reOle)
|
||||
{
|
||||
DestroyIRichEditOle(editor->reOle);
|
||||
IRichEditOle_Release(editor->reOle);
|
||||
editor->reOle = NULL;
|
||||
}
|
||||
OleUninitialize();
|
||||
|
|
Loading…
Reference in New Issue