loadConfig memleak
Posted: 16 Sep 2009, 22:26
found this is leaking some memory
need to release NSURL* url;
added the release after it was used. this seems to stop the leak.
need to release NSURL* url;
added the release after it was used. this seems to stop the leak.
Code: Select all
doc = [[CXMLDocument alloc] initWithContentsOfURL:url options:0 error:&error];
[url release];