Leak in managedObjectContext save:

Posted by Kamchatka on Stack Overflow See other posts from Stack Overflow or by Kamchatka
Published on 2010-05-03T19:07:12Z Indexed on 2010/05/03 19:38 UTC
Read the original article Hit count: 288

Hi

I have the following piece of code and when I use Instruments/Object Allocations, it tells me that there is a leak there (which goes down to sqlite3MemMalloc). Is there something that I should release?

if (![managedObjectContext save:&error]) {
  NSLog(@"Error while saving.");
}

The save works well and doesn't trigger an error.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk