[Adium-devl] Revision 14f474ebb80f

Zachary West zacwest at gmail.com
Wed Apr 22 23:13:36 UTC 2009


In http://hg.adiumx.com/adium/rev/14f474ebb80f, I removed the proxy
object release/retain.

This was happening:

LO retains PO.
PO retains LO.

LO is told to remove PO, which causes -release to be called on PO.
PO then releases LO, which causes it to deallocate.

PO is still around, but its LO is released.
PO gets removed somewhere, tries to deallocate its LO, crashes.

Is someone better at memory management able to fix this properly?

Zac




More information about the devel mailing list