Performance tweaks

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21985 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2005-11-10 22:40:57 +00:00
parent 252b778407
commit e848a285c4
3 changed files with 23 additions and 4 deletions

View file

@ -217,7 +217,7 @@ static void clean_up_names(void)
n = [[self class] _query: name];
NSDebugLLog(@"NSMessagePort", @"got %@", n);
return AUTORELEASE([[NSMessagePort alloc] initWithName: n]);
return AUTORELEASE([NSMessagePort newWithName: n]);
}
- (BOOL) registerPort: (NSPort *)port