From: wine-devel wine-devel-bounces@winehq.org On Behalf Of Nikolay Sivov Sent: Wednesday, September 09, 2020 5:46 AM Subject: Re: [PATCH] oleaut32: ITypeInfo_ReleaseFuncDesc_Proxy handle NULL parameter
Is it possible to add a test for this? And ideally a bug reference too.
Agreed, this fix seems strange in isolation. Why only ReleaseFuncDesc and not ReleaseVarDesc or ReleaseTypeAttr? And why should the proxy tolerate NULL, but not direct (in-apartment) calls?
Not saying it's definitely wrong, but it seems incomplete if freeing NULL is supposed to be OK.