title: Alloc a new objective C object to a retained property?
body: <p>Sorry for asking a totally basic question, but if I have a synthesized property that is retained.</p>
  
  <pre><code> self.myProperty = [[NSObject alloc] init];
  </code></pre>
  
  <p>will cause a memory leak?</p>
  
  <p>So am I correct in thinking that I need to do</p>
  
  <pre><code>self.myProperty = [[NSObject alloc] init];
  [self.myProperty release];
  </code></pre>
  
  <p>in order to balance? Because that seems dumb.</p>