summaryrefslogtreecommitdiff
path: root/ext/intl/dateformat/dateformat_create.cpp
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2015-01-26 12:24:33 +0300
committerDmitry Stogov <dmitry@zend.com>2015-01-26 12:24:33 +0300
commit8aa146b810108bde3353d9d2f8cf05a9dd012f6d (patch)
treecfcb589c2976c5cb6ca94753d495920878018d90 /ext/intl/dateformat/dateformat_create.cpp
parent371dc9b6a659399ede7d3c784f3c6ff800045ab2 (diff)
downloadphp-git-8aa146b810108bde3353d9d2f8cf05a9dd012f6d.tar.gz
Fixed use after free
Diffstat (limited to 'ext/intl/dateformat/dateformat_create.cpp')
-rw-r--r--ext/intl/dateformat/dateformat_create.cpp1
1 files changed, 0 insertions, 1 deletions
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();
}
}