We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c0b41d commit e04d37bCopy full SHA for e04d37b
ext/openssl/openssl.c
@@ -1672,7 +1672,7 @@ PHP_FUNCTION(openssl_spki_verify)
1672
PHP_FUNCTION(openssl_spki_export)
1673
{
1674
size_t spkstr_len;
1675
- char *spkstr, * spkstr_cleaned = NULL, * s = NULL;
+ char *spkstr, * spkstr_cleaned = NULL;
1676
int spkstr_cleaned_len;
1677
1678
EVP_PKEY *pkey = NULL;
@@ -1727,9 +1727,6 @@ PHP_FUNCTION(openssl_spki_export)
1727
if (spkstr_cleaned != NULL) {
1728
efree(spkstr_cleaned);
1729
}
1730
- if (s != NULL) {
1731
- efree(s);
1732
- }
1733
1734
/* }}} */
1735
0 commit comments