summaryrefslogtreecommitdiff
path: root/ext/phar/phar_object.c
diff options
context:
space:
mode:
authorGreg Beaver <cellog@php.net>2009-05-04 04:29:25 +0000
committerGreg Beaver <cellog@php.net>2009-05-04 04:29:25 +0000
commit6eb6df3a207ee501d439436009a340bb250cbf23 (patch)
treefe4a78ea076e956c28823453ee29660be396c33e /ext/phar/phar_object.c
parentcba1765799bc8638f956f7f5fb01e1228379086f (diff)
downloadphp-git-6eb6df3a207ee501d439436009a340bb250cbf23.tar.gz
disable cause of mysterious segfault in PHP 5.3 only (5.2 is fine)
Diffstat (limited to 'ext/phar/phar_object.c')
-rwxr-xr-xext/phar/phar_object.c2
1 files changed, 2 insertions, 0 deletions
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));