title: Why can NSString not take ownership of memory allocated with new?
body: <p>The static analyzer in Xcode 8 (beta 1) is warning me that <code>NSString</code>'s <code>initWithBytesNoCopy:length:encoding:freeWhenDone:</code> can't take ownership of memory allocated by <code>new[]</code>. Is this an error? If not, why is this the case?</p>
  
  <p>If I change my allocation to use <code>calloc</code> instead of <code>new[]</code>, the warning goes away.</p>