Nope, that is 10.7+ only. :( The default branch, so 1.7hg, does use @autoreleasepool instead of NSAutoreleasePool everywhere.
Thijs On 5 sep. 2012, at 23:47, Peter Hosey <bore...@adium.im> wrote: > Can we use @autoreleasepool yet? > > On Sep 5, 2012, at 14:10:36, comm...@adium.im wrote: >> details: http://hg.adium.im/adium/rev/54c9e016b5ba >> revision: 5023:54c9e016b5ba >> branch: adium-1.5.4 >> date: Wed Sep 05 23:10:17 2012 +0200 >> >> Forgot a [pool release]; here. >> >> diffs (15 lines): >> >> diff -r 932796c0e3bf -r 54c9e016b5ba Plugins/Purple >> Service/AMPurpleJabberAdHocServer.m >> --- a/Plugins/Purple Service/AMPurpleJabberAdHocServer.m Wed Sep 05 >> 22:57:49 2012 +0200 >> +++ b/Plugins/Purple Service/AMPurpleJabberAdHocServer.m Wed Sep 05 >> 23:10:17 2012 +0200 >> @@ -37,8 +37,10 @@ >> ⋮ >> const char *type = xmlnode_get_attrib(*packet,"type"); >> - if(!type || strcmp(type,"set")) >> + if(!type || strcmp(type,"set")) { >> + [pool release]; >> return; // doesn't talk to us, probably the user >> interacting with some other adhoc node >> + } >> ⋮ > >