Commit 27ac8d26 authored by Guillaume Charifi's avatar Guillaume Charifi Committed by Alexandre Julliard

riched20: Do not destroy IRichEditOle if still referenced.

parent 9006a013
......@@ -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();
......
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