From: Greg Beaver Date: Mon, 4 May 2009 04:29:25 +0000 (+0000) Subject: disable cause of mysterious segfault in PHP 5.3 only (5.2 is fine) X-Git-Tag: php-5.3.0RC2~39 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6eb6df3a207ee501d439436009a340bb250cbf23;p=php disable cause of mysterious segfault in PHP 5.3 only (5.2 is fine) --- diff --git a/ext/phar/phar_object.c b/ext/phar/phar_object.c index 3cc681752b..f163f99b7b 100755 --- a/ext/phar/phar_object.c +++ b/ext/phar/phar_object.c @@ -310,9 +310,11 @@ static int phar_file_action(phar_archive_data *phar, phar_entry_info *info, char efree(new_op_array); +#if PHP_VERSION_ID < 50300 if (EG(return_value_ptr_ptr) && *EG(return_value_ptr_ptr)) { zval_ptr_dtor(EG(return_value_ptr_ptr)); } +#endif } zend_catch { if (PHAR_G(cwd)) { efree(PHAR_G(cwd));