summaryrefslogtreecommitdiff
path: root/ext/bcmath/libbcmath/src/num2str.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bcmath/libbcmath/src/num2str.c')
-rw-r--r--ext/bcmath/libbcmath/src/num2str.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/bcmath/libbcmath/src/num2str.c b/ext/bcmath/libbcmath/src/num2str.c
index 23988c0d6c..3e23158125 100644
--- a/ext/bcmath/libbcmath/src/num2str.c
+++ b/ext/bcmath/libbcmath/src/num2str.c
@@ -55,7 +55,6 @@ zend_string
str = zend_string_alloc(num->n_len + scale + signch + 1, 0);
else
str = zend_string_alloc(num->n_len + signch, 0);
- if (str == NULL) bc_out_of_memory();
/* The negative sign if needed. */
sptr = ZSTR_VAL(str);