diff options
author | Nikita Popov <nikic@php.net> | 2012-03-02 08:04:51 +0000 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2012-03-02 08:04:51 +0000 |
commit | f465b219b5c686d0e6d84be234fc8129bdab3246 (patch) | |
tree | 8147aff193993a89c5b046d02246e5537f3017c3 | |
parent | bc8e8b34674697e82c852c61dce94717d43bb874 (diff) | |
download | php-git-f465b219b5c686d0e6d84be234fc8129bdab3246.tar.gz |
Fix bug #61106 Segfault when using header_register_callback
The callback was double dtored
-rw-r--r-- | main/SAPI.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/main/SAPI.c b/main/SAPI.c index 7ad235e725..74fdbb2c4a 100644 --- a/main/SAPI.c +++ b/main/SAPI.c @@ -494,9 +494,6 @@ static void sapi_send_headers_free(TSRMLS_D) SAPI_API void sapi_deactivate(TSRMLS_D) { zend_llist_destroy(&SG(sapi_headers).headers); - if (SG(callback_func)) { - zval_ptr_dtor(&SG(callback_func)); - } if (SG(request_info).post_data) { efree(SG(request_info).post_data); } else if (SG(server_context)) { |