Skip to content

Commit

Permalink
coverity 745495
Browse files Browse the repository at this point in the history
  • Loading branch information
nicowilliams committed Apr 19, 2015
1 parent 73c4db7 commit e010254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/krb5/init_creds_pw.c
Expand Up @@ -311,7 +311,7 @@ krb5_process_last_request(krb5_context context,
if (options && options->opt_private && options->opt_private->lr.func) {
krb5_last_req_entry **lre;

lre = calloc(lr->len + 1, sizeof(**lre));
lre = calloc(lr->len + 1, sizeof(*lre));
if (lre == NULL)
return krb5_enomem(context);
for (i = 0; i < lr->len; i++) {
Expand Down

0 comments on commit e010254

Please sign in to comment.