X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/dd22938ef0d9b0131dad9171a8a95866ceec9607..80be023065ced106a4078a36371c135a60d2bd6c:/mpx-ksqr.c diff --git a/mpx-ksqr.c b/mpx-ksqr.c index 8a0ad64..92fd0cc 100644 --- a/mpx-ksqr.c +++ b/mpx-ksqr.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: mpx-ksqr.c,v 1.7 2002/10/09 00:36:03 mdw Exp $ + * $Id$ * * Karatsuba-based squaring algorithm * @@ -27,34 +27,6 @@ * MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: mpx-ksqr.c,v $ - * Revision 1.7 2002/10/09 00:36:03 mdw - * Fix bounds on workspace for Karatsuba operations. - * - * Revision 1.6 2000/10/08 15:48:35 mdw - * Rename Karatsuba constants now that we have @gfx_kmul@ too. - * - * Revision 1.5 2000/10/08 12:11:01 mdw - * Use @mpx_ueq@ instead of @MPX_UCMP@. - * - * Revision 1.4 2000/07/29 17:04:02 mdw - * Remove useless header `mpscan.h'. - * - * Revision 1.3 2000/06/17 11:42:54 mdw - * Moved the Karatsuba macros into a separate file for better sharing. - * Fixed some comments. Use an improved technique so that all the - * operations are squarings. - * - * Revision 1.2 1999/12/13 15:35:01 mdw - * Simplify and improve. - * - * Revision 1.1 1999/12/11 10:57:43 mdw - * Karatsuba squaring algorithm. - * - */ - /*----- Header files ------------------------------------------------------*/ #include @@ -221,7 +193,7 @@ static int usqr(dstr *v) ok = 0; } - free(a); free(c); free(d); free(s); + xfree(a); xfree(c); xfree(d); xfree(s); return (ok); }