plug memory leaks.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20846 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -196,6 +196,7 @@ test_princ(krb5_context context)
|
||||
ret = krb5_unparse_name_flags(context, p2,
|
||||
KRB5_PRINCIPAL_UNPARSE_NO_REALM,
|
||||
&princ_unparsed);
|
||||
krb5_free_principal(context, p2);
|
||||
if (ret)
|
||||
krb5_err(context, 1, ret, "krb5_unparse_name_norealm");
|
||||
|
||||
@@ -222,6 +223,7 @@ test_princ(krb5_context context)
|
||||
ret = krb5_unparse_name_flags(context, p2,
|
||||
KRB5_PRINCIPAL_UNPARSE_NO_REALM,
|
||||
&princ_unparsed);
|
||||
krb5_free_principal(context, p2);
|
||||
if (ret)
|
||||
krb5_err(context, 1, ret, "krb5_unparse_name_norealm");
|
||||
|
||||
|
Reference in New Issue
Block a user