diff options
Diffstat (limited to 'ext/openssl')
-rw-r--r-- | ext/openssl/xp_ssl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/openssl/xp_ssl.c b/ext/openssl/xp_ssl.c index 3e276c4f97..0b36009269 100644 --- a/ext/openssl/xp_ssl.c +++ b/ext/openssl/xp_ssl.c @@ -464,7 +464,7 @@ static inline int php_openssl_enable_crypto(php_stream *stream, "ssl", "peer_certificate", zcert); peer_cert = NULL; - efree(zcert); + FREE_ZVAL(zcert); } if (SUCCESS == php_stream_context_get_option( @@ -490,7 +490,7 @@ static inline int php_openssl_enable_crypto(php_stream *stream, zend_list_insert(mycert, php_openssl_get_x509_list_id())); add_next_index_zval(arr, zcert); - efree(zcert); + FREE_ZVAL(zcert); } } else { |