Alexandre Julliard : mshtml/tests: Fix a reference leak.

Alexandre Julliard julliard at winehq.org
Tue Jun 11 14:27:53 CDT 2013


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Jun 11 13:50:15 2013 +0200

mshtml/tests: Fix a reference leak.

---

 dlls/mshtml/tests/htmldoc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/mshtml/tests/htmldoc.c b/dlls/mshtml/tests/htmldoc.c
index c8ed4d4..d5fb9cc 100644
--- a/dlls/mshtml/tests/htmldoc.c
+++ b/dlls/mshtml/tests/htmldoc.c
@@ -5862,6 +5862,7 @@ static void test_open_window(IHTMLDocument2 *doc, BOOL do_block)
 
         hres = IHTMLWindow2_close(new_window);
         ok(hres == S_OK, "close failed: %08x\n", hres);
+        IHTMLWindow2_Release(new_window);
     }
 
     IHTMLWindow2_Release(window);




More information about the wine-cvs mailing list