diff --git a/ChangeLog b/ChangeLog index b7ec2b55e..eb035ba5f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -9,7 +9,7 @@ macros for the NeXT runtime. * Source/Additions/GSObjCRuntime.m - (GSAppendMethodToList): Copy type information for NeXT_RUNTIME. + (GSAppendMethodToList): Copy type information. (GSRemoveMethodFromList): Add comment about potential minor leak. 2004-09-14 Richard Frith-Macdonald diff --git a/Source/Additions/GSObjCRuntime.m b/Source/Additions/GSObjCRuntime.m index 7cb6fae85..e56728202 100644 --- a/Source/Additions/GSObjCRuntime.m +++ b/Source/Additions/GSObjCRuntime.m @@ -921,9 +921,9 @@ GSRemoveMethodFromList (GSMethodList list, } /* Clear the last entry. */ - /* NB: For the NeXT_RUNTIME we may leak the types - if they were set by GSAppendMethodFromList. Yet - as we can not determine the origin, we shall leak. */ + /* NB: We may leak the types if they were previously + set by GSAppendMethodFromList. Yet as we can not + determine the origin, we shall leak. */ list->method_list[i].method_name = 0; list->method_list[i].method_types = 0; list->method_list[i].method_imp = 0;