diff options
author | John Kohl <jtkohl@mit.edu> | 1991-02-19 10:13:47 +0000 |
---|---|---|
committer | John Kohl <jtkohl@mit.edu> | 1991-02-19 10:13:47 +0000 |
commit | a7aeb1c0a9e0c73f7125757bc8dd263e1a248b6c (patch) | |
tree | 6524b38372ccf7a1a534b4ce3baeeb2ec25916a5 /src/lib/krb5/krb | |
parent | cce31e4f909c503eac8e78f2e39779bb3593e979 (diff) | |
download | krb5-a7aeb1c0a9e0c73f7125757bc8dd263e1a248b6c.tar.gz krb5-a7aeb1c0a9e0c73f7125757bc8dd263e1a248b6c.tar.xz krb5-a7aeb1c0a9e0c73f7125757bc8dd263e1a248b6c.zip |
update copyright notices
use xfree(x) rather than free((char *)x)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1726 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/krb')
-rw-r--r-- | src/lib/krb5/krb/in_tkt_pwd.c | 6 | ||||
-rw-r--r-- | src/lib/krb5/krb/mk_error.c | 7 | ||||
-rw-r--r-- | src/lib/krb5/krb/mk_priv.c | 6 | ||||
-rw-r--r-- | src/lib/krb5/krb/mk_safe.c | 7 |
4 files changed, 12 insertions, 14 deletions
diff --git a/src/lib/krb5/krb/in_tkt_pwd.c b/src/lib/krb5/krb/in_tkt_pwd.c index 78b9ed6dc5..412be24893 100644 --- a/src/lib/krb5/krb/in_tkt_pwd.c +++ b/src/lib/krb5/krb/in_tkt_pwd.c @@ -2,7 +2,8 @@ * $Source$ * $Author$ * - * Copyright 1990 by the Massachusetts Institute of Technology. + * Copyright 1990,1991 by the Massachusetts Institute of Technology. + * All Rights Reserved. * * For copying and distribution information, please see the file * <krb5/copyright.h>. @@ -15,7 +16,6 @@ static char rcsid_in_tkt_pwd_c[] = "$Id$"; #endif /* !lint & !SABER */ -#include <krb5/copyright.h> #include <krb5/krb5.h> #include <krb5/ext-proto.h> #include <krb5/libos-proto.h> @@ -97,7 +97,7 @@ OLDDECLARG(krb5_pa_data **,padata) *key, &arg->password, &salt)) { - free((char *) *key); + xfree(*key); if (f_salt) xfree(salt.data); return(retval); } diff --git a/src/lib/krb5/krb/mk_error.c b/src/lib/krb5/krb/mk_error.c index 8fae668c11..f33b402711 100644 --- a/src/lib/krb5/krb/mk_error.c +++ b/src/lib/krb5/krb/mk_error.c @@ -2,7 +2,8 @@ * $Source$ * $Author$ * - * Copyright 1990 by the Massachusetts Institute of Technology. + * Copyright 1990,1991 by the Massachusetts Institute of Technology. + * All Rights Reserved. * * For copying and distribution information, please see the file * <krb5/copyright.h>. @@ -15,8 +16,6 @@ static char rcsid_mk_error_c [] = "$Id$"; #endif /* !lint & !SABER */ -#include <krb5/copyright.h> - #include <krb5/krb5.h> #include <krb5/asn1.h> @@ -41,6 +40,6 @@ krb5_data *enc_err; if (retval = encode_krb5_error(dec_err, &new_enc_err)) return(retval); *enc_err = *new_enc_err; - (void)free((char *)new_enc_err); + xfree(new_enc_err); return 0; } diff --git a/src/lib/krb5/krb/mk_priv.c b/src/lib/krb5/krb/mk_priv.c index 483b1007b5..d4c1e0b333 100644 --- a/src/lib/krb5/krb/mk_priv.c +++ b/src/lib/krb5/krb/mk_priv.c @@ -2,7 +2,8 @@ * $Source$ * $Author$ * - * Copyright 1990 by the Massachusetts Institute of Technology. + * Copyright 1990,1991 by the Massachusetts Institute of Technology. + * All Rights Reserved. * * For copying and distribution information, please see the file * <krb5/copyright.h>. @@ -15,7 +16,6 @@ static char rcsid_mk_priv_c[] = "$Id$"; #endif /* !lint & !SABER */ -#include <krb5/copyright.h> #include <krb5/krb5.h> #include <krb5/asn1.h> #include <krb5/libos-proto.h> @@ -158,7 +158,7 @@ privmsg.enc_part.ciphertext.length = 0; privmsg.enc_part.ciphertext.data = 0;} cleanup_encpart(); *outbuf = *scratch; - free((char *)scratch); + xfree(scratch); return 0; clean_prockey: diff --git a/src/lib/krb5/krb/mk_safe.c b/src/lib/krb5/krb/mk_safe.c index 12fb9638ef..5fe61d6106 100644 --- a/src/lib/krb5/krb/mk_safe.c +++ b/src/lib/krb5/krb/mk_safe.c @@ -2,7 +2,8 @@ * $Source$ * $Author$ * - * Copyright 1990 by the Massachusetts Institute of Technology. + * Copyright 1990,1991 by the Massachusetts Institute of Technology. + * All Rights Reserved. * * For copying and distribution information, please see the file * <krb5/copyright.h>. @@ -15,9 +16,7 @@ static char rcsid_mk_safe_c[] = "$Id$"; #endif /* !lint & !SABER */ -#include <krb5/copyright.h> #include <krb5/krb5.h> - #include <krb5/asn1.h> #include <krb5/libos-proto.h> #include <krb5/ext-proto.h> @@ -122,7 +121,7 @@ OLDDECLARG(krb5_data *, outbuf) } xfree(safe_checksum.contents); *outbuf = *scratch; - free((char *)scratch); + xfree(scratch); return 0; } |