msxml3: Fix SafeArrayGetUBond check in BindStatusCallback_create

Víctor Martinez vmartinez at reactos.org
Wed Apr 3 12:44:28 CDT 2013


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130403/4f1171bf/attachment.html>
-------------- next part --------------
From 4d921fa26eae23811150d506cfff49c2f83bda47 Mon Sep 17 00:00:00 2001
From: Victor Martinez Calvo <vmartinez at reactos.org>
Date: Wed, 3 Apr 2013 19:37:44 +0200
Subject: msxml3: Fix SafeArrayGetUBound check in BindStatusCallback_create

---
 dlls/msxml3/httprequest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
-- 
1.8.1.msysgit.1


More information about the wine-patches mailing list