¡@

Home 

2014/10/15 ¤U¤È 10:13:09

iphone Programming Glossary: read_question

Memory leak problem and i need help #1

http://stackoverflow.com/questions/5696471/memory-leak-problem-and-i-need-help-1

to have a leak in this piece of code that i cannot fix The Instruments shows on this line with a 100 NSMutableArray read_Question NSMutableArray alloc initWithCapacity 0 I have tried all kind of things but not been able to fix it. Anyone nice that can.. to fix it. Anyone nice that can advice me how to proceed NSMutableArray readQuestion int questionNr NSMutableArray read_Question NSMutableArray alloc initWithCapacity 0 NSError error PREPARE CORE DATA DB if managedObjectContext nil managedObjectContext.. fetchRequest error error for NSManagedObject info in fetchedObjects if info valueForKey @ idQ intValue questionNr read_Question addObject info valueForKey @ question read_Question addObject info valueForKey @ qRightAnswer read_Question addObject..