30 Jul
2025
30 Jul
'25
1:52 p.m.
Hans Leidekker (@hans) commented about dlls/cryptxml/cryptxml.c:
*handle = (HCRYPTXML)doc; return S_OK; } + +HRESULT WINAPI CryptXmlClose( HCRYPTXML handle ) +{ + struct xmldoc *doc = (struct xmldoc *)handle; + + TRACE( "handle %p\n", handle ); + + if (!handle) return E_INVALIDARG; + + if (doc->sig.SignatureValue.pbData) free( doc->sig.SignatureValue.pbData );
There's no need to check the pointer. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8664#note_111494