summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2015-06-19 09:57:48 +0800
committerXinchen Hui <laruence@php.net>2015-06-19 09:57:48 +0800
commitbb4454b5133adec98f9b454018b9071da675527b (patch)
treeb85f69cb57ee72dc1d32b81c51cdc2fae3da3cf0
parent327e3b338c1fdd923b9ab978bf6b72e0f8b48265 (diff)
parente58a1abb00ace0afce822dd12e38e880687e5e01 (diff)
downloadphp-git-bb4454b5133adec98f9b454018b9071da675527b.tar.gz
Merge branch 'master' of git.php.net:php-src
-rw-r--r--ext/spl/spl_heap.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/spl/spl_heap.c b/ext/spl/spl_heap.c
index 1d8cde25fa..5d045f7457 100644
--- a/ext/spl/spl_heap.c
+++ b/ext/spl/spl_heap.c
@@ -694,10 +694,6 @@ SPL_METHOD(SplPriorityQueue, extract)
return;
}
- if (Z_REFCOUNTED_P(value_out)) {
- Z_ADDREF_P(value_out);
- }
-
RETVAL_ZVAL(value_out, 1, 0);
zval_ptr_dtor(&value);
}