Changeset b317e9 in git


Ignore:
Timestamp:
Aug 8, 2012, 7:38:31 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '96ce329119711a2b80858c8365abd29f8460bbfa')
Children:
1d579f645ed6a1c4f08c80546ec23f4e273a7dde
Parents:
84b2946cebe1e4a84b124187a9ed966e40ad3b47
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2012-08-08 19:38:31+02:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2012-08-08 19:39:49+02:00
Message:
fix: memory management in nlClearDenominator
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/longrat.cc

    r84b294 rb317e9  
    27212721          if (mpz_cmp_si(tmp,1)!=0)
    27222722          {
    2723             mpz_div(cand->z,cand->z,tmp);
     2723            mpz_divexact(cand->z,cand->z,tmp);
    27242724          }
    27252725          mpz_mul(cand->z,cand->z,cand1->n);
     
    27322732  {
    27332733    mpz_clear(tmp);
    2734     nlDelete(&cand,cf);
     2734    FREE_RNUMBER(cand);
    27352735    c=nlInit(1,cf);
    27362736    return;
Note: See TracChangeset for help on using the changeset viewer.