summaryrefslogtreecommitdiff
path: root/ext/bcmath/libbcmath/src/recmul.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-11-26 09:34:01 +0000
committerZeev Suraski <zeev@php.net>2000-11-26 09:34:01 +0000
commit8a03f3062f43a0a54cfcf935746d2ed9d9ab269a (patch)
treeecf6f8370fc733cedd40e9d65765a8d63d0c2293 /ext/bcmath/libbcmath/src/recmul.c
parent203d67ea6be0dcc780a254072fa11fa82a34628d (diff)
downloadphp-git-8a03f3062f43a0a54cfcf935746d2ed9d9ab269a.tar.gz
- Add bcmath to the standard UNIX build
- Change a couple of malloc()'s and free()'s to emalloc()'s and efree()'s
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;