iPhone: Memory Managment when cast between Objective-C objects and Core Foundation types
<p>Whats going on when I use casting ? Should I release something when I use cast ? For example:</p>

<pre><code>CTFontRef font = CTFontCreateWithName((CFStringRef)
    @"Helvetica", 16, NULL);
 CFRelease(font);
</code></pre>

<p>I have memory leak here..Why ? Should I release Helvetica CFStringRef ?</p>

<p>Another example:</p>

<pre><code> CTFramesetterRef frameSetter =
    CTFramesetterCreateWithAttributedString(
    (CFAttributedStringRef)attrString);
 CFRelease(frameSetter);
</code></pre>

<p>Here I have memory leak too. Why ? How should I fix that ?</p>

<p>P.S. I DO NOT USE ARC</p>
