Jacek Caban : mshtml: Initialize url in OnStartURIOpen.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Sep 25 14:45:43 CDT 2006


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Sun Sep 24 23:41:50 2006 +0200

mshtml: Initialize url in OnStartURIOpen.

---

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

diff --git a/dlls/mshtml/nsembed.c b/dlls/mshtml/nsembed.c
index 1089164..cf5fe20 100644
--- a/dlls/mshtml/nsembed.c
+++ b/dlls/mshtml/nsembed.c
@@ -797,7 +797,7 @@ static nsresult NSAPI nsURIContentListen
     nsIWineURI_SetNSContainer(wine_uri, This);
 
     if(This->bscallback && This->bscallback->mon) {
-        LPWSTR url;
+        LPWSTR url = NULL;
         HRESULT hres;
 
         hres = IMoniker_GetDisplayName(This->bscallback->mon, NULL, 0, &url);




More information about the wine-cvs mailing list