summaryrefslogtreecommitdiff
path: root/main/main.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2014-07-02 23:29:53 +0400
committerDmitry Stogov <dmitry@zend.com>2014-07-02 23:29:53 +0400
commit63c057e3313918a800ad7faebdb648216ddba4c0 (patch)
tree04ede4c58aa008868e82606b16cafc9d51757f87 /main/main.c
parent4b09dd69e6bd31f4010bf48e9e07e63cb5f3c2a4 (diff)
downloadphp-git-63c057e3313918a800ad7faebdb648216ddba4c0.tar.gz
Removed EG(opline_ptr) and use corresponding value from EG(current_execute_data)
Diffstat (limited to 'main/main.c')
-rw-r--r--main/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/main/main.c b/main/main.c
index f0c6418e9a..ca25e17113 100644
--- a/main/main.c
+++ b/main/main.c
@@ -1776,10 +1776,9 @@ void php_request_shutdown(void *dummy)
report_memleaks = PG(report_memleaks);
- /* EG(opline_ptr) points into nirvana and therefore cannot be safely accessed
+ /* EG(current_execute_data) points into nirvana and therefore cannot be safely accessed
* inside zend_executor callback functions.
*/
- EG(opline_ptr) = NULL;
EG(current_execute_data) = NULL;
php_deactivate_ticks(TSRMLS_C);