Jacek Caban : mshtml: Release owner in nsChannel destructor.

Alexandre Julliard julliard at winehq.org
Mon Dec 22 10:19:38 CST 2008


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Mon Dec 22 01:10:47 2008 +0100

mshtml: Release owner in nsChannel destructor.

---

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

diff --git a/dlls/mshtml/nsio.c b/dlls/mshtml/nsio.c
index 1dca2a4..c918d12 100644
--- a/dlls/mshtml/nsio.c
+++ b/dlls/mshtml/nsio.c
@@ -219,6 +219,8 @@ static nsrefcnt NSAPI nsChannel_Release(nsIHttpChannel *iface)
             nsIChannel_Release(This->channel);
         if(This->http_channel)
             nsIHttpChannel_Release(This->http_channel);
+        if(This->owner)
+            nsISupports_Release(This->owner);
         if(This->post_data_stream)
             nsIInputStream_Release(This->post_data_stream);
         if(This->load_group)




More information about the wine-cvs mailing list