cppcheck analysis of libqalculate_0.9.7-1.dsc
- ./libqalculate/BuiltinFunctions.cc:2255 [error] - Mismatching allocation and deallocation: gstr
- ./libqalculate/BuiltinFunctions.cc:2275 [error] - Mismatching allocation and deallocation: gstr
- ./libqalculate/BuiltinFunctions.cc:2299 [error] - Mismatching allocation and deallocation: gstr
- ./libqalculate/BuiltinFunctions.cc:2325 [error] - Mismatching allocation and deallocation: gstr
- ./libqalculate/Calculator.cc:4389 [possible error] - Memory leak: mstruct2
- ./libqalculate/Calculator.cc:4403 [possible error] - Memory leak: mstruct2
- ./libqalculate/Calculator.cc:1547 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./libqalculate/Calculator.cc:927 [error] - After push_back, the iterator 'it' may be invalid
- ./libqalculate/Calculator.cc:966 [error] - After push_back, the iterator 'it' may be invalid
- ./libqalculate/Calculator.cc:1005 [error] - After push_back, the iterator 'it' may be invalid
- ./libqalculate/Calculator.cc:2957 [error] - After push_back, the iterator 'it' may be invalid
- ./libqalculate/DataSet.cc:696 [possible error] - Memory leak: o
- ./libqalculate/DataSet.h:129 [possible error] - Memory leak: DataProperty::m_unit
- ./libqalculate/MathStructure.cc:2611 [possible error] - Memory leak: mstruct2
- ./libqalculate/MathStructure.cc:6207 [possible error] - Memory leak: mden_cur
- ./libqalculate/MathStructure.cc:6331 [possible error] - Memory leak: mden_inv
- ./libqalculate/MathStructure.cc:6697 [possible error] - Memory leak: mstruct
- ./libqalculate/MathStructure.cc:9211 [possible error] - Memory leak: factor_mstruct
- ./libqalculate/MathStructure.cc:10243 [possible error] - Memory leak: factor_mstruct
- ./libqalculate/MathStructure.cc:14145 [possible error] - Memory leak: mtryzero
- ./libqalculate/MathStructure.cc:14145 [possible error] - Memory leak: mchecknegative
- ./libqalculate/MathStructure.cc:14126 [possible error] - Memory leak: mcheck1
- ./libqalculate/MathStructure.cc:14126 [possible error] - Memory leak: mcheck2
- ./libqalculate/MathStructure.cc:14254 [possible error] - Memory leak: mbasecheck
- ./libqalculate/MathStructure.cc:14460 [possible error] - Memory leak: malternative2
- ./src/qalc.cc:2650 [possible error] - Resource leak: file
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:54:09 +0000, based on results by cppcheck 1.41-modif