From 95fbd7f46bb579e5aba2f8ec2a345ea6ea7710bd Mon Sep 17 00:00:00 2001 From: Dan Kegel Date: Sun, 13 Jan 2008 22:21:41 -0800 Subject: [PATCH] urlmon: Fix unlikely free of uninitialized pointer. --- dlls/urlmon/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/urlmon/http.c b/dlls/urlmon/http.c index 9617aedf2f3..3056febf3e0 100644 --- a/dlls/urlmon/http.c +++ b/dlls/urlmon/http.c @@ -306,7 +306,7 @@ static HRESULT WINAPI HttpProtocol_Start(IInternetProtocol *iface, LPCWSTR szUrl LPWSTR host = 0, path = 0, user = 0, pass = 0, addl_header = 0, post_cookie = 0, optional = 0; BYTE security_id[512]; - LPOLESTR user_agent, accept_mimes[257]; + LPOLESTR user_agent = NULL, accept_mimes[257]; HRESULT hres; static const WCHAR wszHttp[] = {'h','t','t','p',':'};