mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
(authdes_pk_create): If conversation key cannot be created, free memory.
This commit is contained in:
parent
2ce7e666e9
commit
1eab355198
@ -174,7 +174,7 @@ authdes_pk_create (const char *servername, netobj *pkey, u_int window,
|
||||
if (key_gendes (&auth->ah_key) < 0)
|
||||
{
|
||||
debug ("authdes_create: unable to gen conversation key");
|
||||
return NULL;
|
||||
goto failed;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user