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:
Wolfgang Sourdeau
2010-01-31 00:46:14 +00:00
parent 888ddd023b
commit 6c2f247d5e
3 changed files with 7 additions and 3 deletions

View File

@@ -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.

View File

@@ -182,8 +182,6 @@
if ([self doesRetainContainer])
[_container retain];
owner = [self ownerInContext: context];
if (owner)
[owner retain];
}
return self;

View File

@@ -108,7 +108,7 @@
if (!owner)
{
ownerUser = [SOGoUser userWithLogin: nameInContainer roles: nil];
owner = [ownerUser login];
[self setOwner: [ownerUser login]];
}
return owner;