summaryrefslogtreecommitdiff
path: root/sqrt_ui.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2000-12-12 13:50:44 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2000-12-12 13:50:44 +0000
commitf15e27df81952d8a69cfdaad24e47d2a0e671dbf (patch)
treeadc8a53c9db2515f8f9adc3c3223311f0f3ff9f0 /sqrt_ui.c
parent8a563c52c973cdc58ee9b1112f97ecdff7064052 (diff)
downloadmpfr-f15e27df81952d8a69cfdaad24e47d2a0e671dbf.tar.gz
forgot TMP_MARK(marker) or free'd in wrong order
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@846 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'sqrt_ui.c')
-rw-r--r--sqrt_ui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sqrt_ui.c b/sqrt_ui.c
index 1bf415183..a7afb983a 100644
--- a/sqrt_ui.c
+++ b/sqrt_ui.c
@@ -46,6 +46,7 @@ mpfr_sqrt_ui (r, u, rnd_mode)
TMP_DECL(marker);
if (u) { /* if u=0, do nothing */
+ TMP_MARK(marker);
MON_INIT(up, uu, BITS_PER_MP_LIMB, 1);
count_leading_zeros(cnt, (mp_limb_t) u);
*up = (mp_limb_t) u << cnt;