Guillaume Charifi : riched20: Do not destroy IRichEditOle if still referenced.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Nov 17 07:43:45 CST 2014


Module: wine
Branch: master
Commit: 27ac8d265ed12c4c6da36565316ee13bf9bf9b06
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=27ac8d265ed12c4c6da36565316ee13bf9bf9b06

Author: Guillaume Charifi <guillaume.charifi at sfr.fr>
Date:   Sun Nov 16 22:02:24 2014 +0100

riched20: Do not destroy IRichEditOle if still referenced.

---

 dlls/riched20/editor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c
index 8fdaa53..ca316d2 100644
--- a/dlls/riched20/editor.c
+++ b/dlls/riched20/editor.c
@@ -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();




More information about the wine-cvs mailing list