diff options
Diffstat (limited to 'Source/SPUserManager.m')
-rw-r--r-- | Source/SPUserManager.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPUserManager.m b/Source/SPUserManager.m index 067508c8..811e353e 100644 --- a/Source/SPUserManager.m +++ b/Source/SPUserManager.m @@ -376,7 +376,7 @@ - (NSArray *)treeSortDescriptors { - NSSortDescriptor *descriptor = [[NSSortDescriptor alloc] initWithKey:@"displayName" ascending:YES]; + NSSortDescriptor *descriptor = [[[NSSortDescriptor alloc] initWithKey:@"displayName" ascending:YES] autorelease]; return [NSArray arrayWithObject:descriptor]; } |