From 8bda6a9a7a3d48613383cf5f3cfb06f27cdbfd10 Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Tue, 4 Mar 2008 15:01:53 +0100 Subject: Fix objcl_finalise_class. darcs-hash:6a392ca2e72987802a85cb77c9376be40a1459b3 --- Objective-C/libobjcl.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) { -- cgit v1.2.3