mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
fix memory leak when releasing partially created credentials
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36565 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6dad554c51
commit
381d526dfc
1 changed files with 3 additions and 3 deletions
|
@ -1178,10 +1178,10 @@ static NSMutableDictionary *credentialsCache = nil;
|
|||
{
|
||||
gnutls_certificate_free_credentials(certcred);
|
||||
DESTROY(key);
|
||||
DESTROY(list);
|
||||
DESTROY(dhParams);
|
||||
DESTROY(name);
|
||||
}
|
||||
DESTROY(list);
|
||||
DESTROY(dhParams);
|
||||
DESTROY(name);
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue