(authdes_pk_create): If conversation key cannot be created, free memory.

This commit is contained in:
Ulrich Drepper 2005-12-07 04:10:51 +00:00
parent 2ce7e666e9
commit 1eab355198

View file

@ -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