From: Theodore Tso Date: Sat, 29 Apr 1995 04:32:04 +0000 (+0000) Subject: kadmin.c (main): Don't free the credentials cache twice in case X-Git-Tag: krb5-1.0-beta5~99 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1fe1526f76fda0f0783d06f09a22fe2d8254a2b2;p=krb5.git kadmin.c (main): Don't free the credentials cache twice in case of an error! Makefile.in (kadmin): Use $(LD) instead of $(CC) so that we can do purify checking. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5654 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kadmin.old/client/ChangeLog b/src/kadmin.old/client/ChangeLog index c51961207..cf1c5c98c 100644 --- a/src/kadmin.old/client/ChangeLog +++ b/src/kadmin.old/client/ChangeLog @@ -1,3 +1,11 @@ +Fri Apr 28 21:15:47 1995 Theodore Y. Ts'o + + * kadmin.c (main): Don't free the credentials cache twice in case + of an error! + + * Makefile.in (kadmin): Use $(LD) instead of $(CC) so that we can + do purify checking. + Thu Apr 20 18:18:48 1995 Mark Eichin Changes from Ian Taylor to support testsuite. diff --git a/src/kadmin.old/client/Makefile.in b/src/kadmin.old/client/Makefile.in index 64140ed23..29537cbdb 100644 --- a/src/kadmin.old/client/Makefile.in +++ b/src/kadmin.old/client/Makefile.in @@ -38,7 +38,7 @@ OBJS = \ all:: kadmin kadmin: $(KDBDEPLIB) $(OBJS) $(DEPKLIB) - $(CC) $(CFLAGS) -o kadmin $(OBJS) $(KLIB) $(LIBS) + $(LD) $(CFLAGS) -o kadmin $(OBJS) $(KLIB) $(LIBS) install:: $(INSTALL_PROGRAM) kadmin ${DESTDIR}$(CLIENT_BINDIR)/kadmin diff --git a/src/kadmin.old/client/kadmin.c b/src/kadmin.old/client/kadmin.c index 397a7df0a..19727a66d 100644 --- a/src/kadmin.old/client/kadmin.c +++ b/src/kadmin.old/client/kadmin.c @@ -184,7 +184,6 @@ main(argc,argv) /* Initiate Link to Server */ if ((retval = adm5_init_link(context, requested_realm, port, &local_socket))) { - (void) krb5_cc_destroy(context, cache); exit(1); }