freed, since it isn't being passed back to the caller
(anymore).
do_tgs_req.c (process_tgs_req): Free header_ticket when we're
done with it. (Prevents massive memory leak).
Makefile.in (depend): Use $(LD) instead of $(CC) so that we can
do purify checking.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5651
dc483132-0cff-0310-8789-
dd5450dbe970
+Sat Apr 29 00:13:16 1995 Theodore Y. Ts'o <tytso@dcl>
+
+ * kdc_util.c (kdc_process_tgs_req): Make sure apreq->ticket gets
+ freed, since it isn't being passed back to the caller
+ (anymore).
+
+Fri Apr 28 21:28:45 1995 Theodore Y. Ts'o <tytso@dcl>
+
+ * do_tgs_req.c (process_tgs_req): Free header_ticket when we're
+ done with it. (Prevents massive memory leak).
+
+ * Makefile.in (depend): Use $(LD) instead of $(CC) so that we can
+ do purify checking.
+
Fri Apr 28 18:05:52 1995 Mark Eichin <eichin@cygnus.com>
* Makefile.in (KLIB): put KRB4_LIB inside KLIB.
kdc5_err.o: kdc5_err.h
krb5kdc: $(OBJS) $(KDBDEPLIB) $(DEPKLIB)
- $(CC) $(CFLAGS) -o krb5kdc $(OBJS) $(KDBLIB) $(KLIB) $(LIBS)
+ $(LD) $(CFLAGS) -o krb5kdc $(OBJS) $(KDBLIB) $(KLIB) $(LIBS)
install::
$(INSTALL_PROGRAM) krb5kdc ${DESTDIR}$(SERVER_BINDIR)/krb5kdc
fromstring, response);
}
+ if (header_ticket)
+ krb5_free_ticket(kdc_context, header_ticket);
if (request)
krb5_free_kdc_req(kdc_context, request);
if (cname)
krb5_auth_con_free(kdc_context, auth_context);
cleanup:
- apreq->ticket = 0; /* Caller will free the ticket */
krb5_free_ap_req(kdc_context, apreq);
return retval;
}