Monotone-Parent: 94ff9caef87cde7157655b9f398a4481c6bf5b72

Monotone-Revision: 93bb2c6945d08d009e60e0b6280976b86b0b0aaf

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-06-03T23:06:52
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2009-06-03 23:06:52 +00:00
parent 7737073752
commit 459ab3484e
12 changed files with 57 additions and 39 deletions
+3 -3
View File
@@ -761,7 +761,7 @@ _computeBlockPosition (NSArray *block)
max = [block count];
event = [block objectAtIndex: 0];
siblings = [[event objectForKey: @"siblings"] unsignedIntValue];
positions = calloc (siblings, sizeof (NSMutableDictionary *));
positions = NSZoneCalloc (NULL, siblings, sizeof (NSMutableDictionary *));
for (count = 0; count < max; count++)
{
@@ -780,7 +780,7 @@ _computeBlockPosition (NSArray *block)
}
}
free (positions);
NSZoneFree (NULL, positions);
}
// static inline void
@@ -831,7 +831,7 @@ _computeBlocksPosition (NSArray *blocks)
block = [blocks objectAtIndex: count];
_computeBlockPosition (block);
// _addBlockMultipliers (block, positions);
// free (positions);
// NSZoneFree (NULL, positions);
}
}