title: ARC is turned off and Analyzer is showing denials for class methods
body: <pre><code>+ (Photo *)photoWithImage:(UIImage *)image {
  return [[Photo alloc] initWithImage:image] ;// Potential leak of an object
  
  }
  </code></pre>
  
  <p>Method returns an Objective-C object with a +1 retain count
  Object returned to caller as an owning reference (single retain count transferred to caller)
  Object leaked: allocated object is returned from a method whose name (photoWithImage) does not start with copy, mutableCopy, alloc or new</p>
  
  <pre><code>+ (Photo *)photoWithFilePath:(NSString *)path {
  return [[Photo alloc] initWithFilePath:path];
  }// potential leak of an object
  </code></pre>
  
  <p>Method returns an Objective-C object with a +1 retain count
  Object returned to caller as an owning reference (single retain count transferred to caller)
  Object leaked: allocated object is returned from a method whose name (photoWithFilePath) does not start with copy, mutableCopy, alloc or new</p>
  
  <p>Is there anyother way of fixing it if dont want to use autorelease.</p>
  
  <p>Thanks for help.</p>