(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:
@@ -128,7 +128,7 @@ gssapi_krb5_set_error_string (void)
|
|||||||
else {
|
else {
|
||||||
/* ignore failures, will use status code instead */
|
/* ignore failures, will use status code instead */
|
||||||
ctx->error_string = strdup(e);
|
ctx->error_string = strdup(e);
|
||||||
krb5_free_error_string(e);
|
krb5_free_error_string(gssapi_krb5_context, e);
|
||||||
}
|
}
|
||||||
HEIMDAL_MUTEX_unlock(&ctx->mutex);
|
HEIMDAL_MUTEX_unlock(&ctx->mutex);
|
||||||
}
|
}
|
||||||
|
@@ -128,7 +128,7 @@ gssapi_krb5_set_error_string (void)
|
|||||||
else {
|
else {
|
||||||
/* ignore failures, will use status code instead */
|
/* ignore failures, will use status code instead */
|
||||||
ctx->error_string = strdup(e);
|
ctx->error_string = strdup(e);
|
||||||
krb5_free_error_string(e);
|
krb5_free_error_string(gssapi_krb5_context, e);
|
||||||
}
|
}
|
||||||
HEIMDAL_MUTEX_unlock(&ctx->mutex);
|
HEIMDAL_MUTEX_unlock(&ctx->mutex);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user