ole32: Fix circular reference count in default handler objects.

Rob Shearman robertshearman at gmail.com
Tue Nov 24 08:08:27 CST 2009


2009/11/24 Rob Shearman <robertshearman at gmail.com>:
> This is caused by caching a pointer and reference to the data cache's
> IPersistStorage interface without managing reference counts
> appropriately.
> ---
>  dlls/ole32/defaulthandler.c |   22 ++++++++++++++++++++++
>  1 files changed, 22 insertions(+), 0 deletions(-)
>
> Fixes memory leaks in defaulthandler tests. May also fix bugs 12419 & 14863.

I should also note that the rules for aggregating objects implemented
by this patch are listed here:
http://msdn.microsoft.com/en-us/library/ms686558(VS.85).aspx

-- 
Rob Shearman



More information about the wine-devel mailing list