diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-12-07 04:10:51 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-12-07 04:10:51 +0000 |
commit | 1eab3551982e7688f94c0e052c18129d238fa673 (patch) | |
tree | 7b0383220911982a7d778d6a55092af6e42c1edf /sunrpc | |
parent | 2ce7e666e9f64730bdac1be1c7b43c2375d82826 (diff) | |
download | glibc-1eab3551982e7688f94c0e052c18129d238fa673.tar.gz glibc-1eab3551982e7688f94c0e052c18129d238fa673.tar.xz glibc-1eab3551982e7688f94c0e052c18129d238fa673.zip |
(authdes_pk_create): If conversation key cannot be created, free memory.
Diffstat (limited to 'sunrpc')
-rw-r--r-- | sunrpc/auth_des.c | 2 |
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 |