(gssapi_krb5_set_error_string): pass in the krb5_context to

krb5_free_error_string


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14649 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-03-16 13:15:03 +00:00
parent 69f891d8e9
commit ad03885ded
2 changed files with 2 additions and 2 deletions

View File

@@ -128,7 +128,7 @@ gssapi_krb5_set_error_string (void)
else {
/* ignore failures, will use status code instead */
ctx->error_string = strdup(e);
krb5_free_error_string(e);
krb5_free_error_string(gssapi_krb5_context, e);
}
HEIMDAL_MUTEX_unlock(&ctx->mutex);
}

View File

@@ -128,7 +128,7 @@ gssapi_krb5_set_error_string (void)
else {
/* ignore failures, will use status code instead */
ctx->error_string = strdup(e);
krb5_free_error_string(e);
krb5_free_error_string(gssapi_krb5_context, e);
}
HEIMDAL_MUTEX_unlock(&ctx->mutex);
}