Zero out_creds

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2938 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-08-12 01:54:24 +00:00
parent 687c4ac22e
commit 56c9880996

View File

@@ -64,7 +64,7 @@ krb5_get_forwarded_creds (krb5_context context,
krb5_data enc_data;
int32_t sec, usec;
out_creds = malloc(sizeof(*out_creds));
out_creds = calloc(1, sizeof(*out_creds));
if (out_creds == NULL)
return ENOMEM;