}
void Handle() {
- CYClient_ *client = [[CYClient_ alloc] init];
- @try {
+ NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
+
+ CYClient_ *client = [[[CYClient_ alloc] init] autorelease];
for (;;) {
size_t size;
return;
}
- } @finally {
- [client release];
- }
+ [pool release];
}
};