mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-29 22:05:42 +00:00
(fix) avoid potential but unlikely mem leak
This commit is contained in:
1 parent
215f04667c
commit
ff711e60b2
1 file changed
+3
@@ -157,7 +157,10 @@ _intValueFromHex (NSString *hexString)
|
||||
}
|
||||
|
||||
max = [folders count];
|
||||
|
||||
DESTROY(calendars);
|
||||
calendars = [[NSMutableArray alloc] initWithCapacity: max];
|
||||
|
||||
for (count = 0; count < max; count++)
|
||||
{
|
||||
folder = [sortedFolders objectAtIndex: count];
|
||||
|
||||
Reference in new issue
Block a user