Ambiguous scénario for iPhone memory management

Posted by gotye on Stack Overflow See other posts from Stack Overflow or by gotye
Published on 2010-04-07T07:12:33Z Indexed on 2010/04/07 7:43 UTC
Read the original article Hit count: 258

Filed under:
|
|
|
|

Hey guys,

i have some difficulties to understand this scénario ...

  • i create an object
  • i set its retained property to something
  • i Forget to release its property
  • i release the object

as i didn't release the property in the dealloc method, Will the scénario result in a memory leak or Will the property be released automatically ?

And yes, i read the memory management guide ;)

cheers,

gotye.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about memory