Memory Leaks in pickerView using sqlite
- by Danamo
I'm adding self.notes array to a pickerView. This is how I'm setting the array:
NSMutableArray *notesArray = [[NSMutableArray alloc] init];
[notesArray addObject:@"-"];
[notesArray addObjectsFromArray:[dbManager getTableValues:@"Notes"]];
self.notes = notesArray;
[notesArray release];
The info for the pickerView is taken from the database…