Changeset 4c882f in git


Ignore:
Timestamp:
Sep 11, 2013, 6:21:47 PM (11 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '79dfb9a6d258bfeb991428bdb25b8f55e9e809b2')
Children:
19efd96f592d18d6236472804d562b3ed5432bcd
Parents:
1e5bbd70c45325682c85dd82ac76bdd5d0cdecbf
Message:
fix memory leak while constructing rings
Location:
Singular
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/ipshell.cc

    r1e5bbd7 r4c882f  
    51145114
    51155115        extParam.r = rDefault( ch, pars, names); // Q/Zp [ p_1, ... p_pars ]
     5116        for(int i=pars-1; i>=0;i--)
     5117        {
     5118          omFree(names[i]);
     5119        }
     5120        omFree(names);
    51165121
    51175122        cf = nInitChar(n_transExt, &extParam);
  • Singular/maps_ip.cc

    r1e5bbd7 r4c882f  
    301301      pSetCoeff(pp, n_Invers(d, currRing->cf));
    302302      n_Delete(&d, currRing); // d = NULL;
    303     } else
     303    }
     304    else
    304305      pSetCoeff(pp, nInit(1));
    305306
Note: See TracChangeset for help on using the changeset viewer.