Nicolas Le Cam : mshtml: Fix uninitialized variable warning.
Alexandre Julliard
julliard at winehq.org
Tue Apr 26 11:35:43 CDT 2011
Module: wine
Branch: master
Commit: d4e7dacfc1cbdcb0c7e458f31f7beafb78c455a3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d4e7dacfc1cbdcb0c7e458f31f7beafb78c455a3
Author: Nicolas Le Cam <niko.lecam at gmail.com>
Date: Tue Apr 26 03:20:20 2011 +0200
mshtml: Fix uninitialized variable warning.
---
dlls/mshtml/navigate.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/mshtml/navigate.c b/dlls/mshtml/navigate.c
index 78e747a..e93f1e9 100644
--- a/dlls/mshtml/navigate.c
+++ b/dlls/mshtml/navigate.c
@@ -1424,9 +1424,10 @@ static HRESULT handle_redirect(nsChannelBSC *This, const WCHAR *new_url)
FIXME("AsyncOnChannelRedirect failed: %08x\n", hres);
else if(This->nschannel != callback->nschannel)
FIXME("nschannel not updated\n");
+
+ nsIAsyncVerifyRedirectCallback_Release(&callback->nsIAsyncVerifyRedirectCallback_iface);
}
- nsIAsyncVerifyRedirectCallback_Release(&callback->nsIAsyncVerifyRedirectCallback_iface);
nsIChannelEventSink_Release(sink);
return hres;
}
More information about the wine-cvs
mailing list