summaryrefslogtreecommitdiffstats
path: root/src/plugins/kdb/db2
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2006-09-06 20:31:54 +0000
committerKen Raeburn <raeburn@mit.edu>2006-09-06 20:31:54 +0000
commita7855be17da5d0075b8eb44837eb9b54fe26c96d (patch)
tree2972d7a5770cb1195ebb7b520f978c49756b8d42 /src/plugins/kdb/db2
parentd7133a8d43ff5096dee20a95ba8a4293662d5bc9 (diff)
Make database plugin responsible for releasing the error-message string, so
that we can use the krb5_get_error_message interface internally. * kdb5.h: Add release_errcode_string field to the interface. * db2_exp.c, ldap_exp.c: Initialize it. * ldap_misc.c: Use krb5_get/free_error_message for error message strings. * kdb_ldap.h: Declare krb5_ldap_release_errcode_string. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18565 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/plugins/kdb/db2')
-rw-r--r--src/plugins/kdb/db2/db2_exp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/kdb/db2/db2_exp.c b/src/plugins/kdb/db2/db2_exp.c
index c922eafd0..9b6a58abd 100644
--- a/src/plugins/kdb/db2/db2_exp.c
+++ b/src/plugins/kdb/db2/db2_exp.c
@@ -246,6 +246,7 @@ kdb_vftabl kdb_function_table = {
/* db_supported_realms */ NULL,
/* db_free_supported_realms */ NULL,
/* errcode_2_string */ NULL,
+ /* release_errcode_string */ NULL,
/* db_alloc */ wrap_krb5_db2_alloc,
/* db_free */ wrap_krb5_db2_free,
/* set_master_key */ wrap_krb5_db2_set_master_key_ext,