aboutsummaryrefslogtreecommitdiffstats
path: root/mpi/mpih-mul.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpi/mpih-mul.c')
-rw-r--r--mpi/mpih-mul.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpi/mpih-mul.c b/mpi/mpih-mul.c
index b35f4618b..397ec6066 100644
--- a/mpi/mpih-mul.c
+++ b/mpi/mpih-mul.c
@@ -422,7 +422,7 @@ mpihelp_mul_karatsuba_case( mpi_ptr_t prodp,
}
else {
if( !ctx->next ) {
- ctx->next = m_alloc_clear( sizeof *ctx );
+ ctx->next = xmalloc_clear( sizeof *ctx );
}
mpihelp_mul_karatsuba_case( ctx->tspace,
vp, vsize,
@@ -451,7 +451,7 @@ mpihelp_release_karatsuba_ctx( struct karatsuba_ctx *ctx )
mpi_free_limb_space( ctx->tp );
if( ctx->tspace )
mpi_free_limb_space( ctx->tspace );
- m_free( ctx );
+ xfree( ctx );
}
}