Hi
I have this simple code
@interface chatApp4Message : NSObject {
NSString* line;
}
@property (nonatomic, retain) NSString* line;
@end
@implementation chatApp4Message
@synthesize line;
@end
As you can see, I don't release the line property. However, when running this following simple code under the xCode leaks tool, I get no indication of memory leaks
for (int i=1; i< 100; i++){
chatApp4Message* msg = [[chatApp4Message alloc] init];
msg.line = @"aaaaaa";
[msg release]
}
Any reply will be appreciated