summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/krb/preauth_encts.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/krb5/krb/preauth_encts.c')
-rw-r--r--src/lib/krb5/krb/preauth_encts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/preauth_encts.c b/src/lib/krb5/krb/preauth_encts.c
index b8295aaf4..cec384227 100644
--- a/src/lib/krb5/krb/preauth_encts.c
+++ b/src/lib/krb5/krb/preauth_encts.c
@@ -92,7 +92,7 @@ encts_process(krb5_context context, krb5_clpreauth_moddata moddata,
if (ret)
goto cleanup;
- pa = k5alloc(2 * sizeof(krb5_pa_data *), &ret);
+ pa = k5calloc(2, sizeof(krb5_pa_data *), &ret);
if (pa == NULL)
goto cleanup;