summaryrefslogtreecommitdiff
path: root/ext/intl/msgformat/msgformat.c
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/msgformat/msgformat.c
parent371dc9b6a659399ede7d3c784f3c6ff800045ab2 (diff)
downloadphp-git-8aa146b810108bde3353d9d2f8cf05a9dd012f6d.tar.gz
Fixed use after free
Diffstat (limited to 'ext/intl/msgformat/msgformat.c')
-rw-r--r--ext/intl/msgformat/msgformat.c1
1 files changed, 0 insertions, 1 deletions
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();
}
}