adium 5023:54c9e016b5ba: Forgot a [pool release]; here.
Peter Hosey
boredzo at adium.im
Wed Sep 5 21:47:26 UTC 2012
Can we use @autoreleasepool yet?
On Sep 5, 2012, at 14:10:36, commits at 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
> + }
> ⋮
More information about the devel
mailing list