mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
fix a couple of leak detection bugs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33353 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e78ceb4c96
commit
53b5f5405c
3 changed files with 11 additions and 3 deletions
|
@ -788,8 +788,11 @@ newLanguages(NSArray *oldNames)
|
|||
}
|
||||
NS_HANDLER
|
||||
{
|
||||
[defs->_lock unlock];
|
||||
[defs release];
|
||||
if (nil != defs)
|
||||
{
|
||||
[defs->_lock unlock];
|
||||
[defs release];
|
||||
}
|
||||
[localException raise];
|
||||
}
|
||||
NS_ENDHANDLER
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue