svn rev #23555: trunk/src/slave/
epeisach@MIT.EDU
epeisach at MIT.EDU
Thu Dec 31 17:25:11 EST 2009
http://src.mit.edu/fisheye/changelog/krb5/?cs=23555
Commit By: epeisach
Log Message:
Use krb5_free_default_realm instead of free on the results of
krb5_get_default_realm().
Changed Files:
U trunk/src/slave/kpropd.c
Modified: trunk/src/slave/kpropd.c
===================================================================
--- trunk/src/slave/kpropd.c 2009-12-31 04:21:34 UTC (rev 23554)
+++ trunk/src/slave/kpropd.c 2009-12-31 22:25:11 UTC (rev 23555)
@@ -966,8 +966,8 @@
_("while closing default ccache"));
exit(1);
}
- if (def_realm)
- free(def_realm);
+ if (def_realm && kpropd_context)
+ krb5_free_default_realm(kpropd_context, def_realm);
if (server_handle)
kadm5_destroy((void *)server_handle);
if (kpropd_context)
More information about the cvs-krb5
mailing list