@@ -712,17 +712,25 @@ return hash; } - (OFString*)description { - OFMutableString *ret = [OFMutableString stringWithString: @"{\n"]; - OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init], *pool2; - OFEnumerator *keyEnumerator = [self keyEnumerator]; - OFEnumerator *objectEnumerator = [self objectEnumerator]; + OFMutableString *ret; + OFAutoreleasePool *pool, *pool2; + OFEnumerator *keyEnumerator; + OFEnumerator *objectEnumerator; id key, object; size_t i; + if (count == 0) + return @"{}"; + + ret = [OFMutableString stringWithString: @"{\n"]; + pool = [[OFAutoreleasePool alloc] init]; + keyEnumerator = [self keyEnumerator]; + objectEnumerator = [self objectEnumerator]; + i = 0; pool2 = [[OFAutoreleasePool alloc] init]; while ((key = [keyEnumerator nextObject]) != nil && (object = [objectEnumerator nextObject]) != nil) {