MSACM: fix incorrect linked list traversing leading to memory/driver instance leak

Alex Villací­s Lasso a_villacis at palosanto.com
Mon Jan 16 11:11:43 CST 2006


While preparing local codec support for msacm this weekend, I wondered 
why my local driver references (which were cleaned up as part of 
acmDriverClose()) were being leaked. Then I discovered this... odd... 
pointer manipulation for linked-list traversal. After fixing it, the 
leaks went away. Please note that this strange pointer manipulation is 
part of Wine CVS, not introduced by my local work, so driver instances 
are being leaked unless the patch is applied.

Changelog:
* Fix incorrect linked list traversing leading to memory/driver instance 
leak

Alex Villacís Lasso

-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-msacm-00-acmDriverClose-fix_leak.patch
Type: text/x-patch
Size: 580 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060116/ed467632/wine-msacm-00-acmDriverClose-fix_leak.patch


More information about the wine-patches mailing list