Skip to content

Commit

Permalink
Fixed a crash in iOS 16.1 where we freed to much memory
Browse files Browse the repository at this point in the history
  • Loading branch information
Rool committed Nov 7, 2022
1 parent 805c951 commit 00d2d7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Transport/OpenSSL/OpenSSL.m
Original file line number Diff line number Diff line change
Expand Up @@ -394,8 +394,8 @@ - (BOOL)validatePKCS7Signature:(NSData *)signatureData
BIO_free(signatureBlob); signatureBlob = NULL;
BIO_free(contentBlob); contentBlob = NULL;
BIO_free(certificateBlob); certificateBlob = NULL;
sk_X509_pop_free(signers, X509_free); signers = NULL;
X509_free(signingCert); signingCert = NULL;
signers = NULL;
signingCert = NULL;

return result;
}
Expand Down

0 comments on commit 00d2d7f

Please sign in to comment.