riched20: Do not destroy IRichEditOle if still referenced.

This commit is contained in:
Guillaume Charifi 2014-11-16 22:02:24 +01:00 committed by Alexandre Julliard
parent 9006a013b0
commit 27ac8d265e
1 changed files with 1 additions and 1 deletions

View File

@ -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();