com php-src: Change free to OPENSSL_free: ext/openssl/ope nssl.c
| From: | Leigh | Date: | Wed, 18 Jan 2017 14:45:41 +0000 |
| Subject: | com php-src: Change free to OPENSSL_free: ext/openssl/ope nssl.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-96787@lists.php.net to get a copy of this message | ||
Commit: e7e96fe2e082ec55c1fd069a7e5af207128e91b9
Author: Leigh <leigh@php.net> Wed, 18 Jan 2017 14:45:41 +0000
Parents: 6af7753e368a550bd9f3a9e3419af5e455663879
Branches: PHP-7.0
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e7e96fe2e082ec55c1fd069a7e5af207128e91b9
Log:
Change free to OPENSSL_free
Changed paths:
M ext/openssl/openssl.c
Diff:
diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c
index d7091b8..c3c97b2 100644
--- a/ext/openssl/openssl.c
+++ b/ext/openssl/openssl.c
@@ -709,7 +709,7 @@ static void add_assoc_name_entry(zval * val, char * key, X509_NAME * name, int s
if (needs_free) {
/* ASN1_STRING_to_UTF8(3): The buffer out should be freed using free(3) */
- free(to_add);
+ OPENSSL_free(to_add);
}
}