mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Fix minor memory leak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21972 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4e9fd8d3f2
commit
dde1037859
1 changed files with 1 additions and 1 deletions
|
@ -356,7 +356,7 @@ static void clean_up_names(void)
|
|||
a = NSMapGet(portToNamesMap, port);
|
||||
a = [a copy];
|
||||
[serverLock unlock];
|
||||
return a;
|
||||
return AUTORELEASE(a);
|
||||
}
|
||||
|
||||
- (BOOL) removePort: (NSPort *)port
|
||||
|
|
Loading…
Reference in a new issue