From: John Kohl Date: Tue, 1 May 1990 17:03:51 +0000 (+0000) Subject: use xfree X-Git-Tag: krb5-1.0-alpha2~751 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f9c8af4770af1b7a78733ac3d4f72c614ac12b40;p=krb5.git use xfree git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@645 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/ccache/file/fcc_gennew.c b/src/lib/krb5/ccache/file/fcc_gennew.c index ecba20bcd..5f43e22bb 100644 --- a/src/lib/krb5/ccache/file/fcc_gennew.c +++ b/src/lib/krb5/ccache/file/fcc_gennew.c @@ -53,15 +53,15 @@ krb5_fcc_generate_new (id) lid->data = (krb5_fcc_data *) malloc(sizeof(krb5_fcc_data)); if (((krb5_fcc_data *) lid->data) == NULL) { - free(lid); + xfree(lid); return KRB5_NOMEM; } ((krb5_fcc_data *) lid->data)->filename = (char *) malloc(strlen(scratch) + 1); if (((krb5_fcc_data *) lid->data)->filename == NULL) { - free(((krb5_fcc_data *) lid->data)); - free(lid); + xfree(((krb5_fcc_data *) lid->data)); + xfree(lid); return KRB5_NOMEM; } diff --git a/src/lib/krb5/ccache/file/fcc_getnam.c b/src/lib/krb5/ccache/file/fcc_getnam.c index f5405c522..0d448e95a 100644 --- a/src/lib/krb5/ccache/file/fcc_getnam.c +++ b/src/lib/krb5/ccache/file/fcc_getnam.c @@ -11,7 +11,7 @@ */ #if !defined(lint) && !defined(SABER) -static char fcc_resolve_c[] = "$Id$"; +static char fcc_getnam_c[] = "$Id$"; #endif /* !lint && !SABER */ #include