summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Objective-C/libobjcl.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objective-C/libobjcl.m b/Objective-C/libobjcl.m
index eb6bdd6..07c2531 100644
--- a/Objective-C/libobjcl.m
+++ b/Objective-C/libobjcl.m
@@ -935,8 +935,8 @@ objcl_finalise_class (Class class)
TRACE (@"finalise-class: Adding methods.");
if (methods)
{
- method_list = ObjcUtilities_alloc_method_list (method_count);
method_count = [[method_list_lengths objectForKey: class_name] intValue];
+ method_list = ObjcUtilities_alloc_method_list (method_count);
for (i = 0; i < method_count; i++)
{