Typelib containment refcounting (2)

Alexandre Julliard julliard at winehq.org
Tue Jun 24 13:39:17 CDT 2003

Mike Hearn <mike at theoretic.com> writes:

> This is a slightly modified version of the original patch which releases
> the typelib reference on every ITypeInfo::Release(), not just when being
> destroyed.

This is still not right, there are many other places that increment
the ITypeInfo refcount that would need to be fixed too. And if you
increment the typelib refcount everywhere it will create a refcount
loop and nothing will ever get freed. This needs more thought...

Alexandre Julliard
julliard at winehq.com

More information about the wine-devel mailing list