Piotr Caban : urlmon: Update reference counter in bsc_from_bctx.

Alexandre Julliard julliard at winehq.org
Thu Nov 15 15:26:31 CST 2012


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

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Thu Nov 15 15:51:08 2012 +0100

urlmon: Update reference counter in bsc_from_bctx.

---

 dlls/urlmon/bindctx.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/urlmon/bindctx.c b/dlls/urlmon/bindctx.c
index 00f6844..b2d2776 100644
--- a/dlls/urlmon/bindctx.c
+++ b/dlls/urlmon/bindctx.c
@@ -83,6 +83,7 @@ IBindStatusCallback *bsc_from_bctx(IBindCtx *bctx)
     if(holder->callback) {
         IBindStatusCallback_Release(bsc);
         bsc = holder->callback;
+        IBindStatusCallback_AddRef(bsc);
     }
 
     IBindStatusCallbackEx_Release(&holder->IBindStatusCallbackEx_iface);




More information about the wine-cvs mailing list