Changeset a8ead8 in git


Ignore:
Timestamp:
Aug 13, 2012, 1:14:21 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '96ce329119711a2b80858c8365abd29f8460bbfa')
Children:
3216ecec58ba8ad25e75baee1434546a4f863030
Parents:
285a39387fec8e81c98db529fa68b87b73a65cd6
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2012-08-13 13:14:21+02:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2012-08-13 13:20:19+02:00
Message:
fix: memory leak in walk
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/walk.cc

    r285a39 ra8ead8  
    15491549
    15501550  mpz_t ggt;
     1551  mpz_init(ggt);
    15511552
    15521553  int tn0, tn1, tz1, ncmp, gcd_tmp, ntmp;
     
    17061707
    17071708    if(j==0)
    1708       mpz_init_set(ggt, sntz);
     1709      mpz_set(ggt, sntz);
    17091710    else
    17101711      if(mpz_cmp_si(ggt,1) != 0)
     
    17531754 FINISH:
    17541755
     1756   mpz_clear(ggt);
    17551757   mpz_clear(t_zaehler);
    17561758   mpz_clear(t_nenner);
Note: See TracChangeset for help on using the changeset viewer.