Changeset 7c118d in git for factory/cfNewtonPolygon.cc


Ignore:
Timestamp:
Oct 19, 2012, 3:17:33 PM (12 years ago)
Author:
Martin Lee <martinlee84@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '3720ae8bfcff4a4649ee98a15552089151d2d59b')
Children:
d91423947d67c2ab2eaf1aae4a61f9f2988e9510
Parents:
e5fdcc46cc43bdef4751841d5c4ddcda8e6cde55
git-author:
Martin Lee <martinlee84@web.de>2012-10-19 15:17:33+02:00
git-committer:
Martin Lee <martinlee84@web.de>2012-10-24 12:33:37+02:00
Message:
fix: memory leak
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/cfNewtonPolygon.cc

    re5fdcc4 r7c118d  
    879879        if (isRat)
    880880          On (SW_RATIONAL);
    881         if (tmp == 1)
    882         {
    883           for (int i= 0; i < sizeOfNewtonPolygon; i++)
    884             delete [] newtonPolyg [i];
    885           delete [] newtonPolyg;
    886         }
     881        for (int i= 0; i < sizeOfNewtonPolygon; i++)
     882          delete [] newtonPolyg [i];
     883        delete [] newtonPolyg;
    887884        return (tmp==1);
    888885      }
Note: See TracChangeset for help on using the changeset viewer.