iphone - I am getting the leak in the following code -


I'm getting leak 100%, I do not know how the object can be released after returning the object Is it possible to explain the process of releasing alloted title objects?

  - (Title *) List Tiles {Tiles * Tile = [[Tiles Alok] init]; Tile.googleTile_X = (Int) Tile X; Tile.googleTile_Y = (int) pA (2, zoom) - 1-tile wi; Tile.zemelval = AZoom; Return tile; Usually it depends, but in that particular case I believe that you can use it  

return [tile autorecover] .

PS: Please format your code correctly.


Comments