s1s0 / toped

Cross platform, open source IC layout editor
http://www.toped.org.uk/
GNU General Public License v2.0
15 stars 8 forks source link

cppcheck give some errors #162

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
svn version r2361:

$ ~/toped-read-only$ cppcheck -j8 --quiet -f .
[src/toped.cpp:1386]: (error) Uninitialized variable: success
[src/tui.cpp:1403]: (error) Memory leak: newpat
[tpd_DB/tedesign.cpp:1765]: (error) Uninitialized variable: shapes
[tpd_GL/trend.cpp:732]: (error) Mismatching allocation and deallocation: infoLog
[tpd_GL/trend.cpp:749]: (error) Mismatching allocation and deallocation: infoLog

Original issue reported on code.google.com by xian...@openmobilefree.net on 7 Feb 2013 at 3:52

GoogleCodeExporter commented 9 years ago
Fixed in r2362. All apart from 
[src/tui.cpp:1403]: (error) Memory leak: newpat
The variables above are cleaned-up in the destructor of that class. The report 
doesn't look to be correct.

Original comment by krustev....@gmail.com on 10 Feb 2013 at 1:41

GoogleCodeExporter commented 9 years ago

Original comment by krustev....@gmail.com on 10 Feb 2013 at 2:08

GoogleCodeExporter commented 9 years ago

Original comment by krustev....@gmail.com on 4 Apr 2013 at 10:38