cppcheck analysis of ctsim_5.1.3-3.dsc
- ./libctgraphics/ezplot.cpp:63 [error] - Mismatching allocation and deallocation: x
- ./libctgraphics/ezplot.cpp:76 [error] - Mismatching allocation and deallocation: yDouble
- ./libctgraphics/ezplot.cpp:89 [error] - Mismatching allocation and deallocation: dx
- ./libctgraphics/ezplot.cpp:102 [error] - Mismatching allocation and deallocation: dy
- ./libctsim/array2dfile.cpp:592 [error] - Mismatching allocation and deallocation: pszLabelStr
- ./libctsim/backprojectors.cpp:404 [possible error] - Memory leak: pCubicInterp
- ./libctsim/backprojectors.cpp:481 [possible error] - Memory leak: pCubicInterp
- ./libctsim/backprojectors.cpp:570 [possible error] - Memory leak: pCubicInterp
- ./libctsim/backprojectors.cpp:567 [error] - Mismatching allocation and deallocation: deltaFilteredProj
- ./libctsim/backprojectors.cpp:570 [possible error] - Memory leak: deltaFilteredProj
- ./libctsim/backprojectors.cpp:650 [error] - Mismatching allocation and deallocation: deltaFilteredProj
- ./libctsim/backprojectors.cpp:653 [possible error] - Memory leak: deltaFilteredProj
- ./libctsim/backprojectors.cpp:653 [possible error] - Memory leak: pCubicInterp
- ./libctsim/backprojectors.cpp:697 [possible error] - Memory leak: pCubicInterp
- ./libctsim/backprojectors.cpp:743 [possible error] - Memory leak: pCubicInterp
- ./libctsim/ctndicom.cpp:159 [error] - Mismatching allocation and deallocation: pRawPixels
- ./libctsim/ctndicom.cpp:165 [error] - Mismatching allocation and deallocation: pRawPixels
- ./libctsim/ctndicom.cpp:231 [error] - Mismatching allocation and deallocation: pRawProjections
- ./libctsim/ctndicom.cpp:243 [error] - Mismatching allocation and deallocation: pRawProjections
- ./libctsim/ctndicom.cpp:461 [error] - Mismatching allocation and deallocation: pszPatComments
- ./libctsim/ctndicom.cpp:459 [error] - Mismatching allocation and deallocation: pRawPixels
- ./libctsim/filter.cpp:378 [error] - Mismatching allocation and deallocation: q
- ./libctsim/fourier.cpp:62 [error] - Mismatching allocation and deallocation: pRow
- ./libctsim/imagefile.cpp:1418 [possible error] - Resource leak: fp
- ./libctsim/imagefile.cpp:1716 [error] - Mismatching allocation and deallocation: rowp
- ./libctsim/imagefile.cpp:1695 [error] - Memory leak: rowp
- ./libctsim/imagefile.cpp:1755 [error] - Mismatching allocation and deallocation: rowp
- ./libctsim/imagefile.cpp:1733 [error] - Memory leak: rowp
- ./libctsim/imagefile.cpp:1905 [error] - Mismatching allocation and deallocation: rowp
- ./libctsim/imagefile.cpp:1642 [error] - Mismatching allocation and deallocation: row_pointers
- ./libctsim/imagefile.cpp:1854 [error] - Mismatching allocation and deallocation: rowp
- ./libctsim/imagefile.cpp:1805 [error] - Memory leak: rowp
- ./libctsim/imagefile.cpp:1809 [error] - Resource leak: fp
- ./libctsim/procsignal.cpp:212 [error] - Mismatching allocation and deallocation: adFrequencyFilter
- ./libctsim/procsignal.cpp:383 [error] - Mismatching allocation and deallocation: adSpatialFilter
- ./libctsim/procsignal.cpp:628 [error] - Mismatching allocation and deallocation: input
- ./libctsim/procsignal.cpp:573 [error] - Mismatching allocation and deallocation: inputSignal
- ./libctsim/procsignal.cpp:581 [error] - Mismatching allocation and deallocation: inverseFourier
- ./libctsim/procsignal.cpp:590 [error] - Mismatching allocation and deallocation: inputSignal
- ./libctsim/procsignal.cpp:598 [error] - Mismatching allocation and deallocation: inverseFourier
- ./libctsim/projections.cpp:603 [error] - Mismatching allocation and deallocation: pszRemarkStorage
- ./libctsim/projections.cpp:730 [error] - Mismatching allocation and deallocation: pViewData
- ./libctsim/projections.cpp:1246 [error] - Mismatching allocation and deallocation: pdCosScale
- ./libctsim/projections.cpp:1301 [error] - Mismatching allocation and deallocation: pdThetaValuesForT
- ./libctsim/projections.cpp:1302 [error] - Mismatching allocation and deallocation: pdRaysumsForT
- ./libctsim/projections.cpp:1325 [error] - Mismatching allocation and deallocation: pdOriginalDetPositions
- ./libctsim/projections.cpp:1324 [error] - Mismatching allocation and deallocation: pdDetValueCopy
- ./libctsim/reconstruct.cpp:238 [error] - Mismatching allocation and deallocation: adFilteredProj
- ./libctsim/reconstruct.cpp:137 [error] - Mismatching allocation and deallocation: adPlotXAxis
- ./libctsupport/hashtable.cpp:42 [error] - Mismatching allocation and deallocation: pszCopy
- ./libctsupport/hashtable.cpp:59 [error] - Mismatching allocation and deallocation: pszCopy
- ./libctsupport/interpolator.cpp:104 [error] - Mismatching allocation and deallocation: temp
- ./src/backgroundmgr.h:58 [possible error] - Memory leak: BackgroundManager::m_pCanvas
- ./src/dlgezplot.h:75 [possible error] - Memory leak: wxEZPlotDialog::m_pEZPlotCtrl
- ./src/dlgezplot.h:89 [possible error] - Memory leak: EZPlotDialog::m_pDialog
- ./src/dlgprojections.cpp:173 [error] - Mismatching allocation and deallocation: detPos
- ./src/dlgprojections.h:90 [possible error] - Memory leak: ProjectionsDialog::m_btnAbort
- ./src/dlgprojections.h:91 [possible error] - Memory leak: ProjectionsDialog::m_btnPause
- ./src/dlgprojections.h:92 [possible error] - Memory leak: ProjectionsDialog::m_btnStep
- ./src/dlgreconstruct.cpp:207 [error] - Mismatching allocation and deallocation: imageData
- ./src/dlgreconstruct.h:90 [possible error] - Memory leak: ReconstructDialog::m_btnAbort
- ./src/dlgreconstruct.h:91 [possible error] - Memory leak: ReconstructDialog::m_btnPause
- ./src/dlgreconstruct.h:92 [possible error] - Memory leak: ReconstructDialog::m_btnStep
- ./tools/ctsimtext.cpp:167 [error] - Mismatching allocation and deallocation: pszInputLine
- ./tools/if2.cpp:302 [possible error] - Memory leak: pim_in1
- ./tools/if2.cpp:302 [possible error] - Memory leak: pim_in2
- ./tools/if2.cpp:302 [possible error] - Memory leak: pim_out
- ./tools/if2.cpp:252 [error] - Mismatching allocation and deallocation: plot_xaxis
- ./tools/if2.cpp:290 [error] - Mismatching allocation and deallocation: plot_xaxis
- ./tools/if2.cpp:291 [error] - Mismatching allocation and deallocation: v1Row
- ./tools/if2.cpp:292 [error] - Mismatching allocation and deallocation: v2Row
- ./tools/ifexport.cpp:358 [possible error] - Memory leak: pim
- ./tools/ifinfo.cpp:149 [possible error] - Memory leak: im
- ./tools/pjrec.cpp:365 [possible error] - Memory leak: imGlobal
- ./tools/pjrec.cpp:365 [possible error] - Memory leak: imLocal
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:46:49 +0000, based on results by cppcheck 1.41-modif