From 101d27937d8a34a0e105486f2f571f275482d1ee Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Fri, 25 Jul 1997 15:35:04 +0000 Subject: [PATCH] (krb5_build_authenticator): don't free `cksum'. It's allocated and freed by the caller git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2632 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/build_auth.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/krb5/build_auth.c b/lib/krb5/build_auth.c index 1087d0774..7ded0bd3b 100644 --- a/lib/krb5/build_auth.c +++ b/lib/krb5/build_auth.c @@ -98,6 +98,8 @@ krb5_build_authenticator (krb5_context context, if (auth_result) *auth_result = auth; else { + /* Don't free the `cksum', it's allocated by the caller */ + auth->cksum = NULL; free_Authenticator (auth); free (auth); }