fix double free in advapi32/crypt.c

Michael Jung mjung at
Thu Jul 29 15:11:03 CDT 2004


this a resubmit of a patch, which I've sent a couple of days ago, but which 
was not applied. It fixes a double call to CRYPT_Free for the temp variable, 
in the case that the CSP's CPAcquireContext function does not complete 
successfully. I've tried to imitate Alexandre's last patch to 
advapi32/crypt.c, which fixes a similar problem.

	Fixes a potential double call to CRYPT_Free on variable "temp".  

Michael Jung, MSc                               Be liberal in what you accept,
Integrated Circuits and Systems Lab         and conservative in what you send.
University of Technology, Darmstadt       -- Jonathan Postel, Internet Pioneer
phone: +49(6151)16-6692 / email: mjung at

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dlls_advapi32_crypt_c.diff
Type: text/x-diff
Size: 1893 bytes
Desc: not available
Url :

More information about the wine-patches mailing list