com php-src: Use appropriate macro: ext/opcache/zend_accelera tor_util_funcs.c
| From: | Dmitry Stogov | Date: | Fri, 25 Apr 2014 07:29:35 +0000 |
| Subject: | com php-src: Use appropriate macro: ext/opcache/zend_accelera tor_util_funcs.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-77283@lists.php.net to get a copy of this message | ||
Commit: 2c39cf670c3dacad8ceb468dc2765ee6756676f2
Author: Dmitry Stogov <dmitry@zend.com> Fri, 25 Apr 2014 11:29:35 +0400
Parents: 42a33085c8fe320ddf555d270cf0bae94af83f92
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2c39cf670c3dacad8ceb468dc2765ee6756676f2
Log:
Use appropriate macro
Changed paths:
M ext/opcache/zend_accelerator_util_funcs.c
Diff:
diff --git a/ext/opcache/zend_accelerator_util_funcs.c b/ext/opcache/zend_accelerator_util_funcs.c
index 2ac2689..f9b0e81 100644
--- a/ext/opcache/zend_accelerator_util_funcs.c
+++ b/ext/opcache/zend_accelerator_util_funcs.c
@@ -57,7 +57,7 @@ static void zend_accel_destroy_zend_function(zval *zv)
if (function->type == ZEND_USER_FUNCTION) {
if (function->op_array.static_variables) {
- efree(function->op_array.static_variables);
+ FREE_HASHTABLE(function->op_array.static_variables);
function->op_array.static_variables = NULL;
}
}