@@ -288,14 +288,18 @@ return hash; } - (OFString*)description { - OFMutableString *ret = [OFMutableString stringWithString: @"[\n"]; + OFMutableString *ret; OFAutoreleasePool *pool; of_list_object_t *iter; + if (count == 0) + return @"[]"; + + ret = [OFMutableString stringWithString: @"[\n"]; pool = [[OFAutoreleasePool alloc] init]; for (iter = firstListObject; iter != NULL; iter = iter->next) { [ret appendString: [iter->object description]];