Added krb5_free_default_realm
authorMiro Jurisic <meeroh@mit.edu>
Mon, 20 Mar 2000 19:53:36 +0000 (19:53 +0000)
committerMiro Jurisic <meeroh@mit.edu>
Mon, 20 Mar 2000 19:53:36 +0000 (19:53 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12133 dc483132-0cff-0310-8789-dd5450dbe970

src/include/ChangeLog
src/include/krb5.hin
src/lib/krb5/os/ChangeLog
src/lib/krb5/os/def_realm.c

index 928ecb1fc81d270b8c4377ee01566af65652907c..2826d7a41777286e3d68a352660389e0d224ba3f 100644 (file)
@@ -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..
index ea8f93e879e63c3015c80dbedecd00a174a84807..40f1dd3906b8b9885382b2e1ac32cc6360ea3cdf 100644 (file)
@@ -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 *,
index 8f8c018214b2fbe5b969989ef6682bf61e450109..768f1e3a91cf99f3289552983f30b2a754c25c2e 100644 (file)
@@ -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
index 8647f898467dd17dee11449ebbae26b4ab289d9e..d3c031f5b60315133680fa67af3774bc340fecfb 100644 (file)
@@ -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