aboutsummaryrefslogtreecommitdiff
path: root/src/lib/krb5/krb/mk_error.c
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1991-02-19 10:13:47 +0000
committerJohn Kohl <jtkohl@mit.edu>1991-02-19 10:13:47 +0000
commita7aeb1c0a9e0c73f7125757bc8dd263e1a248b6c (patch)
tree6524b38372ccf7a1a534b4ce3baeeb2ec25916a5 /src/lib/krb5/krb/mk_error.c
parentcce31e4f909c503eac8e78f2e39779bb3593e979 (diff)
downloadkrb5-a7aeb1c0a9e0c73f7125757bc8dd263e1a248b6c.zip
krb5-a7aeb1c0a9e0c73f7125757bc8dd263e1a248b6c.tar.gz
krb5-a7aeb1c0a9e0c73f7125757bc8dd263e1a248b6c.tar.bz2
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/mk_error.c')
-rw-r--r--src/lib/krb5/krb/mk_error.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/krb5/krb/mk_error.c b/src/lib/krb5/krb/mk_error.c
index 8fae668..f33b402 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;
}