How do you release the memory in this situation? Do you have to?
- (NSString *) whatHappensHere {
NSMutableString * mutableString = [[NSMutableString alloc] initWithString:@"Hello"];
// ....
// more code ...
// ...
return mutableString;
}
With autorelease