diff options
Diffstat (limited to 'ext/bcmath/libbcmath')
-rw-r--r-- | ext/bcmath/libbcmath/src/raisemod.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/bcmath/libbcmath/src/raisemod.c b/ext/bcmath/libbcmath/src/raisemod.c index 034a265ef2..58f9532545 100644 --- a/ext/bcmath/libbcmath/src/raisemod.c +++ b/ext/bcmath/libbcmath/src/raisemod.c @@ -101,6 +101,7 @@ bc_raisemod (bc_num base, bc_num expo, bc_num mod, bc_num *result, int scale) rscale = MAX(scale, power->n_scale); if ( !bc_compare(modulus, BCG(_one_)) ) { + bc_free_num (&temp); temp = bc_new_num (1, scale); } else |