mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +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
43acbffb34
commit
610561e026
1 changed files with 1 additions and 1 deletions
|
@ -356,7 +356,7 @@ static void clean_up_names(void)
|
||||||
a = NSMapGet(portToNamesMap, port);
|
a = NSMapGet(portToNamesMap, port);
|
||||||
a = [a copy];
|
a = [a copy];
|
||||||
[serverLock unlock];
|
[serverLock unlock];
|
||||||
return a;
|
return AUTORELEASE(a);
|
||||||
}
|
}
|
||||||
|
|
||||||
- (BOOL) removePort: (NSPort *)port
|
- (BOOL) removePort: (NSPort *)port
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue