diff options
author | Nuno Lopes <nlopess@php.net> | 2007-09-29 11:24:05 +0000 |
---|---|---|
committer | Nuno Lopes <nlopess@php.net> | 2007-09-29 11:24:05 +0000 |
commit | 887d439404e79fd4103f6b5583a3cd875f9963e9 (patch) | |
tree | c610ac1fd448952e626e0cba2ef781bd9180a112 /ext/openssl | |
parent | e029a0ee59eb6857517e56a357c3f3f269f546ea (diff) | |
download | php-git-887d439404e79fd4103f6b5583a3cd875f9963e9.tar.gz |
use FREE_ZVAL() instead of free() to free a zval
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 { |