Make database plugin responsible for releasing the error-message string, so
authorKen Raeburn <raeburn@mit.edu>
Wed, 6 Sep 2006 20:31:54 +0000 (20:31 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 6 Sep 2006 20:31:54 +0000 (20:31 +0000)
commita7855be17da5d0075b8eb44837eb9b54fe26c96d
tree2972d7a5770cb1195ebb7b520f978c49756b8d42
parentd7133a8d43ff5096dee20a95ba8a4293662d5bc9
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
src/lib/kdb/kdb5.h
src/plugins/kdb/db2/db2_exp.c
src/plugins/kdb/ldap/ldap_exp.c
src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.h
src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c