summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/krb5/ccache/file/fcc_destry.c6
-rw-r--r--src/lib/krb5/ccache/stdio/scc_destry.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/krb5/ccache/file/fcc_destry.c b/src/lib/krb5/ccache/file/fcc_destry.c
index 1433346f8..6a3298b41 100644
--- a/src/lib/krb5/ccache/file/fcc_destry.c
+++ b/src/lib/krb5/ccache/file/fcc_destry.c
@@ -104,9 +104,9 @@ krb5_error_code krb5_fcc_destroy(id)
ret = krb5_fcc_interpret(errno);
cleanup:
- xfree(((krb5_fcc_data *) id->data)->filename);
- xfree(id->data);
- xfree(id);
+ krb5_xfree(((krb5_fcc_data *) id->data)->filename);
+ krb5_xfree(id->data);
+ krb5_xfree(id);
return ret;
}
diff --git a/src/lib/krb5/ccache/stdio/scc_destry.c b/src/lib/krb5/ccache/stdio/scc_destry.c
index 4555c6f4b..88e261c74 100644
--- a/src/lib/krb5/ccache/stdio/scc_destry.c
+++ b/src/lib/krb5/ccache/stdio/scc_destry.c
@@ -111,9 +111,9 @@ krb5_error_code krb5_scc_destroy(id)
ret = krb5_scc_interpret(errno);
cleanup:
- xfree(data->filename);
- xfree(data);
- xfree(id);
+ krb5_xfree(data->filename);
+ krb5_xfree(data);
+ krb5_xfree(id);
return ret;
}