summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2016-12-07 14:20:43 +0300
committerDmitry Stogov <dmitry@zend.com>2016-12-07 14:20:43 +0300
commitc2bc94f5a5c61d5e01208f41ad0de13b538504a9 (patch)
treef164168c0627cbaa45794f557010818070e65a57
parent5011a11a6dad685eb2ef5ba8b150d939b58f5592 (diff)
downloadphp-git-c2bc94f5a5c61d5e01208f41ad0de13b538504a9.tar.gz
Fixed memory leaks caused by exceptions thrown from destructors (fixed test).
-rw-r--r--Zend/tests/temporary_cleaning_014.phpt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/tests/temporary_cleaning_014.phpt b/Zend/tests/temporary_cleaning_014.phpt
index a64f5a1d95..39effae18a 100644
--- a/Zend/tests/temporary_cleaning_014.phpt
+++ b/Zend/tests/temporary_cleaning_014.phpt
@@ -1,5 +1,7 @@
--TEST--
Leak in JMP_SET
+--SKIPIF--
+<?php if (!extension_loaded("gmp")) print "skip"; ?>
--FILE--
<?php
set_error_handler(function() { throw new Exception; });