Skip to content

Commit

Permalink
Fix memory leak.
Browse files Browse the repository at this point in the history
  • Loading branch information
snhenson committed Nov 11, 2013
1 parent 85c9ba2 commit 16bc45b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crypto/evp/p5_crpt2.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ int PKCS5_PBKDF2_HMAC(const char *pass, int passlen,
HMAC_CTX_cleanup(&hctx);
return 0;
}
HMAC_CTX_cleanup(&hctx);
memcpy(p, digtmp, cplen);
for(j = 1; j < iter; j++)
{
Expand Down

0 comments on commit 16bc45b

Please sign in to comment.