From 1f1e64dac584cc854c8be77fb0d929813a7c6c52 Mon Sep 17 00:00:00 2001 From: rfm Date: Fri, 31 Oct 2008 23:12:05 +0000 Subject: [PATCH] revert last change git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26999 72102866-910b-0410-8b05-ffd578937521 --- Source/NSKeyedUnarchiver.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/NSKeyedUnarchiver.m b/Source/NSKeyedUnarchiver.m index c0de7d130..9e050b4e9 100644 --- a/Source/NSKeyedUnarchiver.m +++ b/Source/NSKeyedUnarchiver.m @@ -798,7 +798,7 @@ static NSMapTable globalClassMap = 0; NSNonOwnedPointerMapValueCallBacks, 0); _objMap = NSZoneMalloc(_zone, sizeof(GSIArray_t)); count = [_objects count]; - GSIArrayInitWithZoneAndCapacity(_objMap, _zone, count+1); + GSIArrayInitWithZoneAndCapacity(_objMap, _zone, count); // Add marker for nil object GSIArrayAddItem(_objMap, (GSIArrayItem)((id)[NilMarker class])); // Add markers for unencoded objects.