projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d017c6
)
Use krb5_free_default_realm instead of free on the results of
author
Ezra Peisach
<epeisach@mit.edu>
Thu, 31 Dec 2009 22:25:11 +0000
(22:25 +0000)
committer
Ezra Peisach
<epeisach@mit.edu>
Thu, 31 Dec 2009 22:25:11 +0000
(22:25 +0000)
krb5_get_default_realm().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23555
dc483132
-0cff-0310-8789-
dd5450dbe970
src/slave/kpropd.c
patch
|
blob
|
history
diff --git
a/src/slave/kpropd.c
b/src/slave/kpropd.c
index ce00c2c5d44c11e74b9af0a20f7da5c56d3805b1..e3bcd689ac5ba278cde82b4c7fb39bd0afe9887f 100644
(file)
--- a/
src/slave/kpropd.c
+++ b/
src/slave/kpropd.c
@@
-966,8
+966,8
@@
done:
_("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)