Hi I am getting memory leak in Instruments for the following line of code .
NSArray *itemsList=[[NSArray alloc] initWithObjects:@"Love",
@"Hate",@"Happy",@"Sad",
@"Desire",@"Anger",@"Hope",@"Fear",@"Silly",nil];
I am using the below code: arrayList is also released in dealloc block.
NSArray *itemsList=[[NSArray alloc] initWithObjects:@"Love",@"Hate",
@"Happy",@"Sad",@"Desire",
@"Anger",@"Hope",@"Fear",@"Silly",nil];
self.arrayList=itemsList;
[itemsList release];