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

This commit is contained in:
Andrew Bogott 2010-12-08 12:20:36 -06:00 committed by Alexandre Julliard
parent 7f09eb6a7a
commit 3b00ef9ebd
1 changed files with 2 additions and 0 deletions

View File

@ -2692,6 +2692,8 @@ static BOOL InvokeShellLinkerForURL( IUniformResourceLocatorW *url, LPCWSTR link
icon_name = extract_icon( pv[0].pwszVal, pv[1].iVal, NULL, bWait ); 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); 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); IPropertyStorage_Release(pPropStg);
} }