summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp1
-rw-r--r--ext/intl/calendar/gregoriancalendar_methods.cpp1
-rw-r--r--ext/intl/collator/collator_create.c1
-rw-r--r--ext/intl/dateformat/dateformat_create.cpp1
-rw-r--r--ext/intl/formatter/formatter_main.c1
-rw-r--r--ext/intl/msgformat/msgformat.c1
-rw-r--r--ext/intl/resourcebundle/resourcebundle_class.c1
7 files changed, 0 insertions, 7 deletions
diff --git a/ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp b/ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp
index e359bacf41..c112134124 100644
--- a/ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp
+++ b/ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp
@@ -104,7 +104,6 @@ U_CFUNC PHP_METHOD(IntlRuleBasedBreakIterator, __construct)
if (Z_TYPE_P(return_value) == IS_OBJECT && Z_OBJ_P(return_value) == NULL) {
zend_object_store_ctor_failed(Z_OBJ(orig_this));
- zval_dtor(&orig_this);
ZEND_CTOR_MAKE_NULL();
}
}
diff --git a/ext/intl/calendar/gregoriancalendar_methods.cpp b/ext/intl/calendar/gregoriancalendar_methods.cpp
index 2cb46e4a83..2ae5737227 100644
--- a/ext/intl/calendar/gregoriancalendar_methods.cpp
+++ b/ext/intl/calendar/gregoriancalendar_methods.cpp
@@ -198,7 +198,6 @@ U_CFUNC PHP_METHOD(IntlGregorianCalendar, __construct)
if (Z_TYPE_P(return_value) == IS_OBJECT && Z_OBJ_P(return_value) == NULL) {
zend_object_store_ctor_failed(Z_OBJ(orig_this));
- zval_dtor(&orig_this);
ZEND_CTOR_MAKE_NULL();
}
}
diff --git a/ext/intl/collator/collator_create.c b/ext/intl/collator/collator_create.c
index dd81ebe8f7..b2058422c2 100644
--- a/ext/intl/collator/collator_create.c
+++ b/ext/intl/collator/collator_create.c
@@ -79,7 +79,6 @@ PHP_METHOD( Collator, __construct )
if (Z_TYPE_P(return_value) == IS_OBJECT && Z_OBJ_P(return_value) == NULL) {
zend_object_store_ctor_failed(Z_OBJ(orig_this));
- zval_dtor(&orig_this);
ZEND_CTOR_MAKE_NULL();
}
}
diff --git a/ext/intl/dateformat/dateformat_create.cpp b/ext/intl/dateformat/dateformat_create.cpp
index 2ceee460ce..f8cf77641f 100644
--- a/ext/intl/dateformat/dateformat_create.cpp
+++ b/ext/intl/dateformat/dateformat_create.cpp
@@ -196,7 +196,6 @@ U_CFUNC PHP_METHOD( IntlDateFormatter, __construct )
if (Z_TYPE_P(return_value) == IS_OBJECT && Z_OBJ_P(return_value) == NULL) {
zend_object_store_ctor_failed(Z_OBJ(orig_this));
- zval_dtor(&orig_this);
ZEND_CTOR_MAKE_NULL();
}
}
diff --git a/ext/intl/formatter/formatter_main.c b/ext/intl/formatter/formatter_main.c
index 59629a68f9..60db673ff2 100644
--- a/ext/intl/formatter/formatter_main.c
+++ b/ext/intl/formatter/formatter_main.c
@@ -97,7 +97,6 @@ PHP_METHOD( NumberFormatter, __construct )
if (Z_TYPE_P(return_value) == IS_OBJECT && Z_OBJ_P(return_value) == NULL) {
zend_object_store_ctor_failed(Z_OBJ(orig_this));
- zval_dtor(&orig_this);
ZEND_CTOR_MAKE_NULL();
}
}
diff --git a/ext/intl/msgformat/msgformat.c b/ext/intl/msgformat/msgformat.c
index bda8b573ce..707b38bd95 100644
--- a/ext/intl/msgformat/msgformat.c
+++ b/ext/intl/msgformat/msgformat.c
@@ -115,7 +115,6 @@ PHP_METHOD( MessageFormatter, __construct )
if (Z_TYPE_P(return_value) == IS_OBJECT && Z_OBJ_P(return_value) == NULL) {
zend_object_store_ctor_failed(Z_OBJ(orig_this));
- zval_dtor(&orig_this);
ZEND_CTOR_MAKE_NULL();
}
}
diff --git a/ext/intl/resourcebundle/resourcebundle_class.c b/ext/intl/resourcebundle/resourcebundle_class.c
index 01823d7a73..9ce33736bb 100644
--- a/ext/intl/resourcebundle/resourcebundle_class.c
+++ b/ext/intl/resourcebundle/resourcebundle_class.c
@@ -146,7 +146,6 @@ PHP_METHOD( ResourceBundle, __construct )
if (Z_TYPE_P(return_value) == IS_OBJECT && Z_OBJ_P(return_value) == NULL) {
zend_object_store_ctor_failed(Z_OBJ(orig_this));
- zval_dtor(&orig_this);
ZEND_CTOR_MAKE_NULL();
}
}