summaryrefslogtreecommitdiff
path: root/src/tests/krb5_child-test.c
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-10-15 12:49:27 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-10-17 13:17:26 +0200
commit1effcf610000b0f34dfb849ef80fc522d4394c7d (patch)
tree9e25a440278652868c58fc74b9ab5685074d1788 /src/tests/krb5_child-test.c
parent4a25e68cd863318f18b2ca78cf6efa7a1921d33a (diff)
downloadsssd-1effcf610000b0f34dfb849ef80fc522d4394c7d.tar.gz
sssd-1effcf610000b0f34dfb849ef80fc522d4394c7d.tar.bz2
sssd-1effcf610000b0f34dfb849ef80fc522d4394c7d.zip
heimdal: Add krb5_xfree to krb5_free_unparsed_name wrapper
krb5_free_unparsed_name is deprecated in heimdal. Also use the wrapper in places where it is not yet used.
Diffstat (limited to 'src/tests/krb5_child-test.c')
-rw-r--r--src/tests/krb5_child-test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/krb5_child-test.c b/src/tests/krb5_child-test.c
index 0c6b68b8..89abfd4c 100644
--- a/src/tests/krb5_child-test.c
+++ b/src/tests/krb5_child-test.c
@@ -333,8 +333,8 @@ print_creds(krb5_context kcontext, krb5_creds *cred, const char *defname)
}
done:
- krb5_free_unparsed_name(kcontext, name);
- krb5_free_unparsed_name(kcontext, sname);
+ sss_krb5_free_unparsed_name(kcontext, name);
+ sss_krb5_free_unparsed_name(kcontext, sname);
}
static errno_t
@@ -381,7 +381,7 @@ print_ccache(const char *cc)
ret = EOK;
done:
krb5_cc_close(kcontext, cache);
- krb5_free_unparsed_name(kcontext, defname);
+ sss_krb5_free_unparsed_name(kcontext, defname);
krb5_free_principal(kcontext, princ);
krb5_free_context(kcontext);
return ret;