cryptui(2/2): Check whether caller called WinVerifyTrust when deciding whether to call it.

Juan Lang juan.lang at gmail.com
Fri Oct 1 17:11:36 CDT 2010


As it was, viewInfo.u.hWVTStateData is guaranteed not to be NULL at
the second if statement, so the second WinVerifyTrust wasn't called,
and this function would leak memory.  (The first if statement was fine
as it was, but for symmetry I changed it to match the second.)
--Juan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-Check-whether-caller-called-WinVerifyTrust-when-deci.patch
Type: text/x-patch
Size: 1221 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20101001/aa45caf7/attachment-0001.bin>


More information about the wine-patches mailing list