Skip to content

Commit

Permalink
change: iiExprArith*Intern do not clean args (iiExprArith* does iti f…
Browse files Browse the repository at this point in the history
…or them)
  • Loading branch information
hannes14 committed Sep 5, 2016
1 parent 12b7192 commit 86ce458
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions Singular/iparith.cc
Expand Up @@ -8104,8 +8104,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;
}
Expand Down Expand Up @@ -8159,8 +8157,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;
}
}
Expand Down Expand Up @@ -8222,8 +8218,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,
Expand Down Expand Up @@ -8515,9 +8509,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++;
Expand Down Expand Up @@ -8568,9 +8559,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;
}
Expand Down Expand Up @@ -8632,9 +8620,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;
}
Expand Down

0 comments on commit 86ce458

Please sign in to comment.