summaryrefslogtreecommitdiff
path: root/ext/bcmath/libbcmath/src/recmul.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bcmath/libbcmath/src/recmul.c')
-rw-r--r--ext/bcmath/libbcmath/src/recmul.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bcmath/libbcmath/src/recmul.c b/ext/bcmath/libbcmath/src/recmul.c
index c30bf8cb64..73f67af574 100644
--- a/ext/bcmath/libbcmath/src/recmul.c
+++ b/ext/bcmath/libbcmath/src/recmul.c
@@ -61,7 +61,7 @@ new_sub_num (length, scale, value)
temp = _bc_Free_list;
_bc_Free_list = temp->n_next;
} else {
- temp = (bc_num) malloc (sizeof(bc_struct));
+ temp = (bc_num) emalloc (sizeof(bc_struct));
if (temp == NULL) bc_out_of_memory ();
}
temp->n_sign = PLUS;