Commit a3b80656 authored by Jactry Zeng's avatar Jactry Zeng Committed by Alexandre Julliard

riched20: Set editor->reOle to NULL when IRichEditOle is released.

parent ad842c42
......@@ -142,6 +142,7 @@ IRichEditOle_fnRelease(IRichEditOle *me)
ITextRangeImpl *txtRge;
TRACE ("Destroying %p\n", This);
This->txtSel->reOle = NULL;
This->editor->reOle = NULL;
ITextSelection_Release(&This->txtSel->ITextSelection_iface);
IOleClientSite_Release(&This->clientSite->IOleClientSite_iface);
LIST_FOR_EACH_ENTRY(txtRge, &This->rangelist, ITextRangeImpl, entry)
......
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