cppcheck analysis of netgen_4.4-15.dsc
- ./libsrc/general/mystring.cpp:222 [error] - Mismatching allocation and deallocation: tmp
- ./libsrc/geom2d/spline2d.hpp:35 [error] - Class SplineSegment which is inherited by class DiscretePointsSegment does not have a virtual destructor
- ./libsrc/gprim/adtree.cpp:90 [error] - Memory leak: bmin
- ./libsrc/gprim/adtree.cpp:90 [error] - Memory leak: bmax
- ./libsrc/linalg/basemat.cpp:157 [error] - Possible null pointer dereference: x
- ./libsrc/meshing/adfront2.hpp:38 [possible error] - Memory leak: FrontPoint2::mgi
- ./libsrc/meshing/ruler3.hpp:14 [possible error] - Memory leak: vnetrule::name
- ./libsrc/meshing/ruler3.hpp:46 [possible error] - Memory leak: vnetrule::oldutofreezone
- ./libsrc/meshing/ruler3.hpp:49 [possible error] - Memory leak: vnetrule::oldutofreezonelimit
- ./libsrc/meshing/smoothing2.cpp:195 [error] - Uninitialized variable: badness
- ./libsrc/occ/occgenmesh.cpp:1063 [possible error] - Memory leak: searchtree
- ./libsrc/stlgeom/stlgeommesh.cpp:972 [possible error] - Memory leak: searchtree
- ./libsrc/stlgeom/stltool.hpp:48 [possible error] - Memory leak: STLChart::searchtree
- ./libsrc/stlgeom/stltopology.hpp:256 [possible error] - Memory leak: STLTopology::pointtree
- ./ngsolve/comp/h1hofespace.cpp:682 [error] - Uninitialized variable: fanum
- ./ngsolve/lapack/LapackGEP.cpp:101 [error] - Mismatching allocation and deallocation: A
- ./ngsolve/lapack/LapackGEP.cpp:102 [error] - Mismatching allocation and deallocation: B
- ./ngsolve/lapack/LapackGEP.cpp:103 [error] - Mismatching allocation and deallocation: wr
- ./ngsolve/lapack/LapackGEP.cpp:104 [error] - Mismatching allocation and deallocation: work
- ./ngsolve/lapack/LapackGEP.cpp:105 [error] - Mismatching allocation and deallocation: ev
- ./ngsolve/lapack/LapackGEP.cpp:106 [error] - Mismatching allocation and deallocation: v2
- ./ngsolve/lapack/LapackGEP.cpp:235 [error] - Mismatching allocation and deallocation: wi
- ./ngsolve/lapack/LapackGEP.cpp:187 [error] - Memory leak: wi
- ./ngsolve/lapack/LapackGEP.cpp:236 [error] - Mismatching allocation and deallocation: wr
- ./ngsolve/lapack/LapackGEP.cpp:187 [error] - Memory leak: wr
- ./ngsolve/lapack/LapackGEP.cpp:237 [error] - Mismatching allocation and deallocation: beta
- ./ngsolve/lapack/LapackGEP.cpp:187 [error] - Memory leak: beta
- ./ngsolve/lapack/LapackGEP.cpp:239 [error] - Mismatching allocation and deallocation: vr
- ./ngsolve/lapack/LapackGEP.cpp:238 [error] - Mismatching allocation and deallocation: work
- ./ngsolve/lapack/LapackGEP.cpp:187 [possible error] - Memory leak: work
- ./ngsolve/lapack/LapackGEP.cpp:190 [error] - Mismatching allocation and deallocation: lscale
- ./ngsolve/lapack/LapackGEP.cpp:191 [error] - Mismatching allocation and deallocation: rscale
- ./ngsolve/lapack/LapackGEP.cpp:324 [error] - Mismatching allocation and deallocation: rwork
- ./ngsolve/lapack/LapackGEP.cpp:320 [error] - Memory leak: rwork
- ./ngsolve/lapack/LapackGEP.cpp:326 [error] - Mismatching allocation and deallocation: lscale
- ./ngsolve/lapack/LapackGEP.cpp:327 [error] - Mismatching allocation and deallocation: rscale
- ./ngsolve/lapack/LapackGEP.cpp:328 [error] - Mismatching allocation and deallocation: work2
- ./ngsolve/lapack/LapackGEP.cpp:320 [possible error] - Memory leak: work2
- ./ngsolve/lapack/LapackGEP.cpp:382 [error] - Mismatching allocation and deallocation: work
- ./ngsolve/lapack/LapackGEP.cpp:450 [error] - Mismatching allocation and deallocation: rwork
- ./ngsolve/lapack/LapackGEP.cpp:448 [error] - Mismatching allocation and deallocation: select
- ./ngsolve/lapack/LapackGEP.cpp:453 [error] - Memory leak: ifaill
- ./ngsolve/lapack/LapackGEP.cpp:453 [error] - Memory leak: ifailr
- ./ngsolve/lapack/LapackGEP.cpp:485 [error] - Mismatching allocation and deallocation: B1
- ./ngsolve/lapack/LapackGEP.cpp:484 [error] - Mismatching allocation and deallocation: A1
- ./ngsolve/lapack/LapackGEP.cpp:486 [error] - Mismatching allocation and deallocation: work
- ./ngsolve/lapack/LapackGEP.cpp:508 [error] - Mismatching allocation and deallocation: work
- ./ngsolve/lapack/LapackGEP.cpp:531 [error] - Mismatching allocation and deallocation: ipiv
- ./ngsolve/lapack/LapackGEP.cpp:554 [error] - Mismatching allocation and deallocation: ipiv
- ./ngsolve/solve/bvp.cpp:506 [possible error] - Memory leak: hmat
- ./ngsolve/solve/pdeparser.cpp:358 [possible error] - Memory leak: fun
- ./ngsolve/solve/pdeparser.cpp:405 [possible error] - Memory leak: fun
- ./ngsolve/solve/pdeparser.cpp:462 [possible error] - Memory leak: fun
- ./ngtcltk/ngpkg.cpp:3048 [possible error] - Memory leak: elmnts
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Thu, 16 Dec 2010 05:59:08 +0000, based on results by cppcheck 1.41-modif