Author: theraven
Date: Sun Mar 21 01:48:00 2010
New Revision: 5986
URL: http://svn.gna.org/viewcvs/etoile?rev=5986&view=rev
Log:
Made ETXMLNullHandler destroy itself when it finishes parsing. The way this is
done violates some of the standard OpenStep memory management idioms. It's
worth fixing this properly at some point, but it will require changing things
in XMPPKit. Currently, subclasses of this in XMPPKit are just leaking -
they're allocated with +alloc and never released. Ideally, they should
probably be using a named constructor, rather than +alloc. The old code, which
was doing [self retain] in -setParser: was clearly wrong, but in a different
way.
Modified:
trunk/Etoile/Frameworks/EtoileFoundation/EtoileXML/ETXMLNullHandler.m
_______________________________________________
Etoile-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-cvs