Fixed memory leaks in SOGoSyncCacheObject and correctly kill the cache upon each EAS iteration

This commit is contained in:
Ludovic Marcotte
2014-12-22 19:59:33 -05:00
parent 72732879fa
commit 255bcbe92f
4 changed files with 11 additions and 6 deletions
-4
View File
@@ -43,10 +43,6 @@
@implementation SOGoMailBaseObject
#if 0
static BOOL debugOn = YES;
#endif
- (id) initWithImap4URL: (NSURL *) _url
inContainer: (id) _container
{
+3
View File
@@ -123,6 +123,9 @@
return label;
}
//
// Set SOGoDebugLeaks = YES in your defaults to enable.
//
+ (void) memoryStatistics
{
Class *classList = GSDebugAllocationClassList ();