TypeLib containment refcounting

Alexandre Julliard julliard at winehq.org
Mon Jun 16 12:41:37 CDT 2003


Mike Hearn <mike at theoretic.com> writes:

> ChangeLog:
> When providing a TypeInfo object, inc/dec the refcount so that programs
> don't call GetContainingTypeLib and crash as the container has been
> destroyed.

This doesn't look right, you increment the refcount on every
GetTypeInfo but only decrement when the typeinfo object is destroyed.

-- 
Alexandre Julliard
julliard at winehq.com



More information about the wine-devel mailing list