summaryrefslogtreecommitdiffstats
path: root/src/kadmin/cli
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>1997-10-07 23:58:27 +0000
committerEzra Peisach <epeisach@mit.edu>1997-10-07 23:58:27 +0000
commitb88b07ce89a707793d075781d50ae2fede131ad9 (patch)
treed58f2efb68e0f782abfbd003b481c746b8e5c8d1 /src/kadmin/cli
parent1bcefe9f75a6f6bc7a2a14f62a6824c45d5be6fa (diff)
downloadkrb5-b88b07ce89a707793d075781d50ae2fede131ad9.tar.gz
krb5-b88b07ce89a707793d075781d50ae2fede131ad9.tar.xz
krb5-b88b07ce89a707793d075781d50ae2fede131ad9.zip
* kadmin.c (quit): Call krb5_free_context
Makes it easier to search for memory leaks with purify if the context memory is freed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10215 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kadmin/cli')
-rw-r--r--src/kadmin/cli/ChangeLog4
-rw-r--r--src/kadmin/cli/kadmin.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/kadmin/cli/ChangeLog b/src/kadmin/cli/ChangeLog
index 25bbd67e6c..190267c687 100644
--- a/src/kadmin/cli/ChangeLog
+++ b/src/kadmin/cli/ChangeLog
@@ -1,3 +1,7 @@
+Tue Oct 7 19:57:43 1997 Ezra Peisach <epeisach@mit.edu>
+
+ * kadmin.c (quit): Call krb5_free_context.
+
Thu Sep 18 17:54:10 1997 Tom Yu <tlyu@mit.edu>
* memmove.c: Replace USE_STRING_H with something more sane.
diff --git a/src/kadmin/cli/kadmin.c b/src/kadmin/cli/kadmin.c
index a4c1711f53..d8419de093 100644
--- a/src/kadmin/cli/kadmin.c
+++ b/src/kadmin/cli/kadmin.c
@@ -452,6 +452,7 @@ int quit()
}
/* insert more random cleanup here */
+ krb5_free_context(context);
return 0;
}