diff options
Diffstat (limited to 'appl/test/uu_server.c')
-rw-r--r-- | appl/test/uu_server.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/appl/test/uu_server.c b/appl/test/uu_server.c index 64a2b1279fae..6e046990b165 100644 --- a/appl/test/uu_server.c +++ b/appl/test/uu_server.c @@ -102,6 +102,8 @@ proto (int sock, const char *service) &in_creds, &out_creds); if(status) krb5_err(context, 1, status, "krb5_get_credentials"); + krb5_cc_close(context, ccache); + ccache = NULL; status = krb5_cc_default(context, &ccache); if(status) @@ -120,6 +122,8 @@ proto (int sock, const char *service) NULL, NULL, NULL); + krb5_cc_close(context, ccache); + ccache = NULL; if (status) krb5_err(context, 1, status, "krb5_sendauth"); @@ -134,6 +138,9 @@ proto (int sock, const char *service) free(str); } + krb5_free_principal(context, in_creds.client); + krb5_free_principal(context, in_creds.server); + krb5_data_zero (&data); krb5_data_zero (&packet); |