diff --git a/programs/winemenubuilder/winemenubuilder.c b/programs/winemenubuilder/winemenubuilder.c index 9c81ab87ede..973bd02b1f4 100644 --- a/programs/winemenubuilder/winemenubuilder.c +++ b/programs/winemenubuilder/winemenubuilder.c @@ -3013,7 +3013,7 @@ static BOOL InvokeShellLinkerForURL( IUniformResourceLocatorW *url, LPCWSTR link { char *link_name = NULL, *icon_name = NULL; DWORD csidl = -1; - LPWSTR urlPath; + LPWSTR urlPath = NULL; char *escaped_urlPath = NULL; HRESULT hr; HANDLE hSem = NULL;