iphone - Automatic Reference Counting is not releasing calloc -


i using arcin application, encoding string usingcalloc` while running app in profile shows memory leak @ calloc.

enter image description here

whether arc release calloc or not?

if no, why not releasing , how release calloc?

thanks,

unfortunately arc manages memory objective-c objects, in case have handle memory management yourself.

to "release" calloced memory need call free on when no longer used:

free(strresult); 

Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -