summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/krb/gen_subkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/krb5/krb/gen_subkey.c')
-rw-r--r--src/lib/krb5/krb/gen_subkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/gen_subkey.c b/src/lib/krb5/krb/gen_subkey.c
index b992e1daee..e1124e0d4f 100644
--- a/src/lib/krb5/krb/gen_subkey.c
+++ b/src/lib/krb5/krb/gen_subkey.c
@@ -57,7 +57,7 @@ krb5_keyblock **subkey;
if (retval = krb5_random_key(&eblock, random_state, subkey)) {
(void) krb5_finish_random_key(&eblock, &random_state);
- xfree(*subkey);
+ krb5_xfree(*subkey);
return retval;
}
/* ignore the error if any, since we've already gotten the key out */