[sender of LoadDataComplete: arrDetailData]; I am returning this array, like this, from the objective class C in my class that inherits the ViewController ... if I write [arrDetailData release] below this ... I get a failure ... Please report it ... how to get this array is leak free
Why don't you auto-approve it?
@devaditya you should use autorelease instead of releasing
[arrDetailData autorelease];
you can write this expression before the statement return.
return
[ relese], , . autorelese. , [array RemoveAllobjects]..
Source: https://habr.com/ru/post/1790625/More articles:You must make an HTTP call to send an email and receive a response - restperl Script to find the motif in the multifasta file and print the complete sequence along with the title line - perlHow to write the correct readonly property? - propertiesparallax with 1 image - javascriptmain question M68000, Neo Geo - assemblyMobile site using ASP.NET MVC - jquery-mobileКак добавить аргументы во время отладки php-скриптов в Eclipse? - debuggingHow would you most effectively store latitude and longitude data? - latitude-longitudeLocalization of javascripts and jquery warnings - javascriptHost Mac OS X package (.mpkg) or Bundle (.bundle) in IIS - iisAll Articles