Skip to content

Commit

Permalink
Fix double free
Browse files Browse the repository at this point in the history
  • Loading branch information
olszomal committed Nov 6, 2023
1 parent ed6100c commit 259e728
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion helpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,6 @@ int sign_spc_indirect_data_content(PKCS7 *p7, BIO *hash, FILE_FORMAT_CTX *ctx)
OPENSSL_free(buf);
if (!PKCS7_set_content(p7, td7)) {
printf("PKCS7_set_content failed\n");
OPENSSL_free(buf);
PKCS7_free(td7);
return 0; /* FAILED */
}
Expand Down

0 comments on commit 259e728

Please sign in to comment.