summaryrefslogtreecommitdiffstats
path: root/src/lib/crypto/keyblocks.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/crypto/keyblocks.c')
-rw-r--r--src/lib/crypto/keyblocks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/crypto/keyblocks.c b/src/lib/crypto/keyblocks.c
index 626443c837..5e698cc5a6 100644
--- a/src/lib/crypto/keyblocks.c
+++ b/src/lib/crypto/keyblocks.c
@@ -65,7 +65,7 @@ void
krb5int_c_free_keyblock(krb5_context context, register krb5_keyblock *val)
{
krb5int_c_free_keyblock_contents(context, val);
- krb5_xfree(val);
+ free(val);
}
void
@@ -73,7 +73,7 @@ krb5int_c_free_keyblock_contents(krb5_context context, register krb5_keyblock *k
{
if (key->contents) {
krb5int_zap_data (key->contents, key->length);
- krb5_xfree(key->contents);
+ free(key->contents);
key->contents = 0;
}
}