Victor Martinez Calvo : msxml3: Fix SafeArrayGetUBond check in BindStatusCallback_create.

Alexandre Julliard julliard at winehq.org
Thu Apr 4 13:54:15 CDT 2013


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

Author: Victor Martinez Calvo <vmartinez at reactos.org>
Date:   Wed Apr  3 19:37:44 2013 +0200

msxml3: Fix SafeArrayGetUBond check in BindStatusCallback_create.

---

 dlls/msxml3/httprequest.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/msxml3/httprequest.c b/dlls/msxml3/httprequest.c
index 681ccab..682381d 100644
--- a/dlls/msxml3/httprequest.c
+++ b/dlls/msxml3/httprequest.c
@@ -722,7 +722,7 @@ static HRESULT BindStatusCallback_create(httprequest* This, BindStatusCallback *
                 heap_free(bsc);
                 return hr;
             }
-            if ((hr = SafeArrayGetUBound(sa, 1, &size) != S_OK))
+            if ((hr = SafeArrayGetUBound(sa, 1, &size)) != S_OK)
             {
                 SafeArrayUnaccessData(sa);
                 heap_free(bsc);




More information about the wine-cvs mailing list