LingWitt@insightbb.com writes: > > free(f->_mp_d); > f->_mp_d = newLimbs; This is incorrect. Don't change the block allocated, move the array elements (ie. limbs) within it.