Nikolay Sivov : mshtml: Fix outer window url leak (Valgrind).

Alexandre Julliard julliard at winehq.org
Mon Nov 14 17:07:08 CST 2016


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Thu Nov 10 16:40:22 2016 +0300

mshtml: Fix outer window url leak (Valgrind).

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/mshtml/htmlwindow.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/mshtml/htmlwindow.c b/dlls/mshtml/htmlwindow.c
index da1af2c..b4ec425 100644
--- a/dlls/mshtml/htmlwindow.c
+++ b/dlls/mshtml/htmlwindow.c
@@ -217,6 +217,7 @@ static void release_outer_window(HTMLOuterWindow *This)
 
     remove_target_tasks(This->task_magic);
     set_current_mon(This, NULL, 0);
+    set_current_uri(This, NULL);
     if(This->base.inner_window)
         detach_inner_window(This->base.inner_window);
     release_children(This);




More information about the wine-cvs mailing list