From 06d9c5ca71e966c4d97a88465c952b8b71800ec2 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Sun, 24 Sep 2006 23:41:50 +0200 Subject: [PATCH] mshtml: Initialize url in OnStartURIOpen. --- dlls/mshtml/nsembed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/mshtml/nsembed.c b/dlls/mshtml/nsembed.c index 108916484e9..cf5fe203809 100644 --- a/dlls/mshtml/nsembed.c +++ b/dlls/mshtml/nsembed.c @@ -797,7 +797,7 @@ static nsresult NSAPI nsURIContentListener_OnStartURIOpen(nsIURIContentListener 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);