summaryrefslogtreecommitdiff
path: root/sunrpc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-12-07 04:10:51 +0000
committerUlrich Drepper <drepper@redhat.com>2005-12-07 04:10:51 +0000
commit1eab3551982e7688f94c0e052c18129d238fa673 (patch)
tree7b0383220911982a7d778d6a55092af6e42c1edf /sunrpc
parent2ce7e666e9f64730bdac1be1c7b43c2375d82826 (diff)
downloadglibc-1eab3551982e7688f94c0e052c18129d238fa673.tar.gz
(authdes_pk_create): If conversation key cannot be created, free memory.
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/auth_des.c2
1 files changed, 1 insertions, 1 deletions
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