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/os/sendto_kdc.c | |
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/os/sendto_kdc.c')
-rw-r--r-- | src/lib/krb5/os/sendto_kdc.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/krb5/os/sendto_kdc.c b/src/lib/krb5/os/sendto_kdc.c index bdb756407..b7e19d19d 100644 --- a/src/lib/krb5/os/sendto_kdc.c +++ b/src/lib/krb5/os/sendto_kdc.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>. @@ -16,8 +17,6 @@ static char rcsid_sendto_kdc_c[] = "$Id$"; #endif /* !lint & !SABER */ -#include <krb5/copyright.h> - #include <krb5/krb5.h> #include <krb5/ext-proto.h> @@ -78,7 +77,7 @@ OLDDECLARG(krb5_data *, reply) socklist[i] = -1; if (!(reply->data = malloc(krb5_max_dgram_size))) { - free((char *)addr); + xfree(addr); return ENOMEM; } reply->length = krb5_max_dgram_size; @@ -170,7 +169,7 @@ OLDDECLARG(krb5_data *, reply) for (i = 0; i < AF_MAX; i++) if (socklist[i] != -1) (void) close(socklist[i]); - free((char *)addr); + xfree(addr); if (retval) { free(reply->data); reply->data = 0; |