summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMiro Jurisic <meeroh@mit.edu>2000-03-20 19:53:36 +0000
committerMiro Jurisic <meeroh@mit.edu>2000-03-20 19:53:36 +0000
commit9bbb07fc1804093d166f27293609a22ff8436cc8 (patch)
tree0acc7ad715bc757d33bd318c0bdc50eda6a1903c /src
parentc6a6fde082324acaec04aacf73c13240a886a51e (diff)
downloadkrb5-9bbb07fc1804093d166f27293609a22ff8436cc8.tar.gz
krb5-9bbb07fc1804093d166f27293609a22ff8436cc8.tar.xz
krb5-9bbb07fc1804093d166f27293609a22ff8436cc8.zip
Added krb5_free_default_realm
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12133 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/include/ChangeLog4
-rw-r--r--src/include/krb5.hin3
-rw-r--r--src/lib/krb5/os/ChangeLog5
-rw-r--r--src/lib/krb5/os/def_realm.c11
4 files changed, 22 insertions, 1 deletions
diff --git a/src/include/ChangeLog b/src/include/ChangeLog
index 928ecb1fc8..2826d7a417 100644
--- a/src/include/ChangeLog
+++ b/src/include/ChangeLog
@@ -1,3 +1,7 @@
+2000-03-20 Miro Jurisic <meeroh@mit.edu>
+
+ * krb5.hin: Add krb5_free_default_realm
+
2000-03-15 Danilo Almeida <dalmeida@mit.edu>
* krb5.hin: Add krb5_get_prompt_types() and related defs..
diff --git a/src/include/krb5.hin b/src/include/krb5.hin
index ea8f93e879..40f1dd3906 100644
--- a/src/include/krb5.hin
+++ b/src/include/krb5.hin
@@ -1799,6 +1799,9 @@ KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_get_default_realm
KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_set_default_realm
KRB5_PROTOTYPE((krb5_context,
krb5_const char FAR * ));
+KRB5_DLLIMP void KRB5_CALLCONV krb5_free_default_realm
+ KRB5_PROTOTYPE((krb5_context,
+ char FAR * ));
KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_sname_to_principal
KRB5_PROTOTYPE((krb5_context,
krb5_const char FAR *,
diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog
index 8f8c018214..768f1e3a91 100644
--- a/src/lib/krb5/os/ChangeLog
+++ b/src/lib/krb5/os/ChangeLog
@@ -1,3 +1,8 @@
+2000-03-20 Miro Jurisic <meeroh@mit.edu>
+
+ * def_realm.c (krb5_free_default_realm): Added, use to free
+ result of krb5_get_default_realm
+
2000-03-15 Danilo Almeida <dalmeida@mit.edu>
* prompter.c: Add krb5int_set_prompt_types() and
diff --git a/src/lib/krb5/os/def_realm.c b/src/lib/krb5/os/def_realm.c
index 8647f89846..d3c031f5b6 100644
--- a/src/lib/krb5/os/def_realm.c
+++ b/src/lib/krb5/os/def_realm.c
@@ -24,7 +24,8 @@
* or implied warranty.
*
*
- * krb5_get_default_realm() function.
+ * krb5_get_default_realm(), krb5_set_default_realm(),
+ * krb5_free_default_realm() functions.
*/
#include "k5-int.h"
@@ -202,3 +203,11 @@ krb5_set_default_realm(context, lrealm)
return(0);
}
+
+KRB5_DLLIMP void KRB5_CALLCONV
+krb5_free_default_realm(context, lrealm)
+ krb5_context context;
+ char FAR* lrealm;
+{
+ free (lrealm);
+} \ No newline at end of file