com php-src: Fix typo: ext/opcache/zend_persist.c
| From: | Nikita Popov | Date: | Fri, 15 Aug 2014 20:13:38 +0000 |
| Subject: | com php-src: Fix typo: ext/opcache/zend_persist.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-80862@lists.php.net to get a copy of this message | ||
Commit: b511bf828cfbff5a6a06196800812671f2b779b8
Author: Nikita Popov <nikic@php.net> Fri, 15 Aug 2014 22:13:38 +0200
Parents: 99878ced1565ba68fa7f7441d6bc8e1c7480bb39
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b511bf828cfbff5a6a06196800812671f2b779b8
Log:
Fix typo
Changed paths:
M ext/opcache/zend_persist.c
Diff:
diff --git a/ext/opcache/zend_persist.c b/ext/opcache/zend_persist.c
index a01b00e..09bca80 100644
--- a/ext/opcache/zend_persist.c
+++ b/ext/opcache/zend_persist.c
@@ -149,7 +149,7 @@ static zend_ast *zend_persist_ast(zend_ast *ast TSRMLS_DC)
} else if (zend_ast_is_list(ast)) {
zend_ast_list *list = zend_ast_get_list(ast);
zend_ast_list *copy = zend_accel_memdup(ast,
- sizeof(zend_ast) + sizeof(zend_ast *) * (list->children - 1));
+ sizeof(zend_ast_list) + sizeof(zend_ast *) * (list->children - 1));
for (i = 0; i < list->children; i++) {
if (copy->child[i]) {
copy->child[i] = zend_persist_ast(copy->child[i] TSRMLS_CC);