From 1eab3551982e7688f94c0e052c18129d238fa673 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 7 Dec 2005 04:10:51 +0000 Subject: (authdes_pk_create): If conversation key cannot be created, free memory. --- sunrpc/auth_des.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sunrpc/auth_des.c b/sunrpc/auth_des.c index 7fe96ca765..dbd12e5aad 100644 --- a/sunrpc/auth_des.c +++ b/sunrpc/auth_des.c @@ -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 -- cgit 1.4.1