* kcmd.c (kcmd): Use krb5_set_principal_realm() instead of freeing the
authorEzra Peisach <epeisach@mit.edu>
Tue, 10 Oct 2000 09:00:59 +0000 (09:00 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 10 Oct 2000 09:00:59 +0000 (09:00 +0000)
commit8166f3a7bc9ba7a646fc370d2aca898f0b8a4b81
tree90004da00899d081718b0be7dbde09c819dd951a
parent8e9e12f79db7b827ad711a775fb9903747dd6df3
    * kcmd.c (kcmd): Use krb5_set_principal_realm() instead of freeing the
        principals realm data and mucking with it ourselves.

This way, we do not free memory allocated by the krb5 library with
a possibly incorrect free, and we do not allocate memory
for a krb5 structure which might be released by the krb5 library.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12748 dc483132-0cff-0310-8789-dd5450dbe970
src/appl/bsd/ChangeLog
src/appl/bsd/kcmd.c