winemenubuilder: Release property variants. Plugs a one-string memory leak.
This commit is contained in:
parent
7f09eb6a7a
commit
3b00ef9ebd
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue