Commit 3b00ef9e authored by Andrew Bogott's avatar Andrew Bogott Committed by Alexandre Julliard

winemenubuilder: Release property variants. Plugs a one-string memory leak.

parent 7f09eb6a
......@@ -2692,6 +2692,8 @@ static BOOL InvokeShellLinkerForURL( IUniformResourceLocatorW *url, LPCWSTR link
icon_name = extract_icon( pv[0].pwszVal, pv[1].iVal, NULL, bWait );
WINE_TRACE("URL icon path: %s icon index: %d icon name: %s\n", wine_dbgstr_w(pv[0].pwszVal), pv[1].iVal, icon_name);
PropVariantClear(&pv[0]);
PropVariantClear(&pv[1]);
}
IPropertyStorage_Release(pPropStg);
}
......
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