mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-05 05:18:51 +00:00
Monotone-Parent: 0c195c70628cb4eca82c718f84cfcc3ea2af76f9
Monotone-Revision: 480019f7fbb2f5372b3caf4b1f0781edd7716532 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-01-31T00:46:14 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
2010-01-30 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/SOGo/SOGoUserFolder.m (-ownerInContext:): invoke
|
||||
setOwner: to retain user.
|
||||
|
||||
* SoObjects/SOGo/SOGoObject.m (-initWithName:inContainer:):
|
||||
ownerInContext: already retains "owner".
|
||||
|
||||
* Main/SOGoProductLoader.m (-loadProducts): attempt to free some
|
||||
memory after "loadAllProducts" is invoked, which consumes a lot of
|
||||
RAM.
|
||||
|
||||
@@ -182,8 +182,6 @@
|
||||
if ([self doesRetainContainer])
|
||||
[_container retain];
|
||||
owner = [self ownerInContext: context];
|
||||
if (owner)
|
||||
[owner retain];
|
||||
}
|
||||
|
||||
return self;
|
||||
|
||||
@@ -108,7 +108,7 @@
|
||||
if (!owner)
|
||||
{
|
||||
ownerUser = [SOGoUser userWithLogin: nameInContainer roles: nil];
|
||||
owner = [ownerUser login];
|
||||
[self setOwner: [ownerUser login]];
|
||||
}
|
||||
|
||||
return owner;
|
||||
|
||||
Reference in New Issue
Block a user