Commit 95fbd7f4 authored by Dan Kegel's avatar Dan Kegel Committed by Alexandre Julliard

urlmon: Fix unlikely free of uninitialized pointer.

parent 39f3e15b
...@@ -306,7 +306,7 @@ static HRESULT WINAPI HttpProtocol_Start(IInternetProtocol *iface, LPCWSTR szUrl ...@@ -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, LPWSTR host = 0, path = 0, user = 0, pass = 0, addl_header = 0,
post_cookie = 0, optional = 0; post_cookie = 0, optional = 0;
BYTE security_id[512]; BYTE security_id[512];
LPOLESTR user_agent, accept_mimes[257]; LPOLESTR user_agent = NULL, accept_mimes[257];
HRESULT hres; HRESULT hres;
static const WCHAR wszHttp[] = {'h','t','t','p',':'}; static const WCHAR wszHttp[] = {'h','t','t','p',':'};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment