[PATCH] oleaut32: ITypeInfo_ReleaseFuncDesc_Proxy handle NULL parameter

Puetz Kevin A PuetzKevinA at JohnDeere.com
Tue Sep 22 15:05:09 CDT 2020


> From: wine-devel <wine-devel-bounces at 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.


More information about the wine-devel mailing list