title: Memory leak problem NSAutoreleaseNoPool()
body: <p>I am trying to create an immutable string. I am not initializing it with init, alloc or new but still the memory is leaking and its saying "object 0x234b533 of Class NSCFString autoreleased with no pool in place - just leaking " here is what I am trying to do</p>
  
  <pre><code>NSMutableString *srn = [NSMutableString stringwithCString:devSID];
  
  // devSID is *char
  </code></pre>
  
  <p>this leaves a leak. I have tried this too </p>
  
  <pre><code>NSMutableString *srn = [NSMutableString stringwithCString:devSID length:sizeof(devSID)];
  </code></pre>
  
  <p>but this too doesn't work, however if I try initialize it with a simple string like this </p>
  
  <pre><code>NSMutableString *srn = @"this is my string";
  </code></pre>
  
  <p>it works, dont have any idea whats happening around. I am not using init or alloc but still there is a leak. I would be obliged if anyone could help me out to resolve this issue </p>
  
  <p>Regards</p>
  
  <p>Umair</p>