summaryrefslogtreecommitdiffstats
path: root/src/appl
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1998-12-22 04:10:08 +0000
committerTheodore Tso <tytso@mit.edu>1998-12-22 04:10:08 +0000
commit1824b05af0f690be105440fdfe0c935b67568076 (patch)
treea99de9422cb7b328ba9670c6d48bdf9922ddeea2 /src/appl
parent10dd2b00f682679af7e5e2f122ba6da603ddb0f4 (diff)
downloadkrb5-1824b05af0f690be105440fdfe0c935b67568076.tar.gz
krb5-1824b05af0f690be105440fdfe0c935b67568076.tar.xz
krb5-1824b05af0f690be105440fdfe0c935b67568076.zip
gss-server.c (test_import_export_context): Fix memory leak
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11094 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/appl')
-rw-r--r--src/appl/gss-sample/ChangeLog4
-rw-r--r--src/appl/gss-sample/gss-server.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/appl/gss-sample/ChangeLog b/src/appl/gss-sample/ChangeLog
index 80e6a0bf3d..d2e9cde14b 100644
--- a/src/appl/gss-sample/ChangeLog
+++ b/src/appl/gss-sample/ChangeLog
@@ -1,3 +1,7 @@
+Mon Dec 21 22:04:02 1998 Theodore Y. Ts'o <tytso@mit.edu>
+
+ * gss-server.c (test_import_export_context): Fix memory leak.
+
1998-11-13 Theodore Ts'o <tytso@rsts-11.mit.edu>
* configure.in: Removed and tests moved up to appl/configure.in
diff --git a/src/appl/gss-sample/gss-server.c b/src/appl/gss-sample/gss-server.c
index 3e9ff09592..df7de21f38 100644
--- a/src/appl/gss-sample/gss-server.c
+++ b/src/appl/gss-sample/gss-server.c
@@ -315,6 +315,7 @@ int test_import_export_context(context)
display_status("importing context", maj_stat, min_stat);
return 1;
}
+ free(copied_token.value);
gettimeofday(&tm1, (struct timezone *)0);
if (verbose && log)
fprintf(log, "Importing context: %7.4f seconds\n",