Date: Saturday, October 22, 2016 @ 23:50:57 Author: arojas Revision: 193016
Add patch Added: singular/trunk/revert-86ce458e.patch -----------------------+ revert-86ce458e.patch | 71 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) Added: revert-86ce458e.patch =================================================================== --- revert-86ce458e.patch (rev 0) +++ revert-86ce458e.patch 2016-10-22 23:50:57 UTC (rev 193016) @@ -0,0 +1,71 @@ +From 86ce458e1269a1d57e682c12b9154dd1f1459354 Mon Sep 17 00:00:00 2001 +From: Hans Schoenemann <han...@mathematik.uni-kl.de> +Date: Mon, 5 Sep 2016 19:19:40 +0200 +Subject: [PATCH] change: iiExprArith*Intern do not clean args (iiExprArith* + does iti for them) + +--- + Singular/iparith.cc | 15 --------------- + 1 file changed, 15 deletions(-) + +diff --git a/Singular/iparith.cc b/Singular/iparith.cc +index 3d43296..5919313 100644 +--- a/Singular/iparith.cc ++++ b/Singular/iparith.cc +@@ -7959,8 +7959,6 @@ static BOOLEAN iiExprArith2TabIntern(leftv res, leftv a, int op, leftv b, + { + break;// leave loop, goto error handling + } +- a->CleanUp(); +- b->CleanUp(); + //Print("op: %d,result typ:%d\n",op,res->rtyp); + return FALSE; + } +@@ -8016,8 +8014,6 @@ static BOOLEAN iiExprArith2TabIntern(leftv res, leftv a, int op, leftv b, + bn->CleanUp(); + omFreeBin((ADDRESS)an, sleftv_bin); + omFreeBin((ADDRESS)bn, sleftv_bin); +- a->CleanUp(); +- b->CleanUp(); + return FALSE; + } + } +@@ -8078,8 +8074,6 @@ static BOOLEAN iiExprArith2TabIntern(leftv res, leftv a, int op, leftv b, + } + res->rtyp = UNKNOWN; + } +- a->CleanUp(); +- b->CleanUp(); + return TRUE; + } + BOOLEAN iiExprArith2Tab(leftv res, leftv a, int op, +@@ -8374,9 +8368,6 @@ static BOOLEAN iiExprArith3TabIntern(leftv res, int op, leftv a, leftv b, leftv + { + break;// leave loop, goto error handling + } +- a->CleanUp(); +- b->CleanUp(); +- c->CleanUp(); + return FALSE; + } + i++; +@@ -8429,9 +8420,6 @@ static BOOLEAN iiExprArith3TabIntern(leftv res, int op, leftv a, leftv b, leftv + omFreeBin((ADDRESS)an, sleftv_bin); + omFreeBin((ADDRESS)bn, sleftv_bin); + omFreeBin((ADDRESS)cn, sleftv_bin); +- a->CleanUp(); +- b->CleanUp(); +- c->CleanUp(); + //Print("op: %d,result typ:%d\n",op,res->rtyp); + return FALSE; + } +@@ -8491,9 +8479,6 @@ static BOOLEAN iiExprArith3TabIntern(leftv res, int op, leftv a, leftv b, leftv + } + res->rtyp = UNKNOWN; + } +- a->CleanUp(); +- b->CleanUp(); +- c->CleanUp(); + //Print("op: %d,result typ:%d\n",op,res->rtyp); + return TRUE; + }