tags:

views:

57

answers:

2

Hello,

Anyone have a idea about solve memory leak issues

i have found one memory related issue NSAutoreleaseNoPool(): Object 0x3588aea0 of class NSCFString autoreleased with no pool in place - just leaking

can anyone have a idea about how can i solve..

Thnak you

+1  A: 

This message usually occurs when you run a secondary thread without creating NSAutoreleasePool for it. On iPhone each thread requires its own NSAutoreleasePool object to handle autoreleased objects.

Vladimir
+2  A: 

You're probably branched off a thread somewhere. Whatever method call you and using in a different thread, put

NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];

At the beginning, and

[pool release];

At the end.

Pyro2927
Thanks for reply but i was used same code
milanjansari