title: What is the difference between releasing and autoreleasing?
body: <p>I still have some unclear understand about release and autorelease. What are the difference between both of them? I have this code. For facebook connection. I crash it sometimes when I go to Facebook login, I doubting maybe it is because I don't release the object nicely.? Thanks for any helps</p>
  
  <pre><code>if (_session.isConnected) {
          [_session logout];
      } else {
          FBLoginDialog* dialog = [[[FBLoginDialog alloc] initWithSession:_session] autorelease];
          [dialog show];
      }
  </code></pre>