Hi all, I want to clarify whether there is a memory leak in this code? As far as I feel its there.
in .h file
@interface MyClass{
NSMutableArray *dataArray;
}
@property(nonatomic,retain) NSMutableArray *dataArray;
in .m file
-(id) init{
self. dataArray = [[NSMutableArray alloc]init];
}
-(void) dealloc{
[self.dataArray release];
[super dealloc];
}