From 0620633df3d757d8ac2b8f3137ab6a4ba718d610 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Wed, 29 Oct 1997 03:20:41 -0800 Subject: [PATCH] memory leak fixed Rev: src/modules/Gmp/mpz_glue.c:1.24 --- src/modules/Gmp/mpz_glue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/Gmp/mpz_glue.c b/src/modules/Gmp/mpz_glue.c index 016884973d..56916f4e7f 100644 --- a/src/modules/Gmp/mpz_glue.c +++ b/src/modules/Gmp/mpz_glue.c @@ -4,7 +4,7 @@ ||| See the files COPYING and DISCLAIMER for more information. \*/ #include "global.h" -RCSID("$Id: mpz_glue.c,v 1.23 1997/10/11 06:49:19 hubbe Exp $"); +RCSID("$Id: mpz_glue.c,v 1.24 1997/10/29 11:20:41 hubbe Exp $"); #include "gmp_machine.h" #if !defined(HAVE_LIBGMP) @@ -541,7 +541,7 @@ static void mpzmod_invert(INT32 args) res = clone_object(mpzmod_program, 0); if (mpz_invert(OBTOMPZ(res), THIS, modulo) == 0) { - really_free_object(res); + free_object(res); error("Gmp.mpz->invert: not invertible"); } pop_n_elems(args); -- GitLab