cppcheck analysis of lordsawar_0.1.6-1.dsc
- ./src/citylist.h:38 [information] - Failed to instantiate template. The checking continues anyway.
- ./src/CreateScenarioRandomize.h:36 [error] - Class CreateScenarioRandomize which is inherited by class CreateScenario does not have a virtual destructor
- ./src/CreateScenarioRandomize.h:66 [possible error] - Memory leak: CreateScenarioRandomize::d_citynames
- ./src/CreateScenarioRandomize.h:67 [possible error] - Memory leak: CreateScenarioRandomize::d_signposts
- ./src/CreateScenarioRandomize.h:68 [possible error] - Memory leak: CreateScenarioRandomize::d_templenames
- ./src/CreateScenarioRandomize.h:69 [possible error] - Memory leak: CreateScenarioRandomize::d_ruinnames
- ./src/ruinlist.h:36 [information] - Failed to instantiate template. The checking continues anyway.
- ./src/Ownable.h:38 [error] - Class Ownable which is inherited by class Threat does not have a virtual destructor
- ./src/Tile.h:163 [possible error] - Memory leak: Tile::d_smalltile
- ./src/action.h:785 [possible error] - Memory leak: Action_Reward::d_reward
- ./src/action.h:1477 [possible error] - Memory leak: Action_RecruitHero::d_hero
- ./src/templelist.h:35 [information] - Failed to instantiate template. The checking continues anyway.
- ./src/armybase.h:105 [error] - Class ArmyBase which is inherited by class Army does not have a virtual destructor
- ./src/Ownable.h:38 [error] - Class Ownable which is inherited by class Army does not have a virtual destructor
- ./src/armyset.cpp:296 [possible error] - Memory leak: ArmysetLoader::armyset
- ./src/bridgelist.h:33 [information] - Failed to instantiate template. The checking continues anyway.
- ./src/cityset.cpp:95 [possible error] - Memory leak: CitysetLoader::cityset
- ./src/editor/hero-editor-dialog.cpp:84 [possible error] - Memory leak: original_backpack
- ./src/editor/main.cpp:71 [possible error] - Memory leak: main_window
- ./src/editor/reward-editor-dialog.h:47 [possible error] - Memory leak: RewardEditorDialog::reward
- ./src/editor/reward-editor-dialog.h:49 [possible error] - Memory leak: RewardEditorDialog::ally
- ./src/editor/reward-editor-dialog.h:50 [possible error] - Memory leak: RewardEditorDialog::hidden_ruin
- ./src/editor/ruin-editor-dialog.h:62 [possible error] - Memory leak: RuinEditorDialog::keeper
- ./src/roadlist.h:32 [information] - Failed to instantiate template. The checking continues anyway.
- ./src/gui/driver.cpp:195 [possible error] - Memory leak: nextTurn
- ./src/gui/driver.cpp:676 [possible error] - Memory leak: game_scenario
- ./src/gui/driver.cpp:813 [possible error] - Memory leak: game_scenario
- ./src/gui/game-lobby-dialog.cpp:437 [error] - Same iterator is used with both rows and people_list
- ./src/gui/game-lobby-dialog.cpp:602 [error] - Same iterator is used with both rows and player_list
- ./src/gui/game-window.cpp:1246 [possible error] - Memory leak: game_scenario
- ./src/gui/history-report-dialog.h:71 [possible error] - Memory leak: HistoryReportDialog::city_chart
- ./src/gui/history-report-dialog.h:75 [possible error] - Memory leak: HistoryReportDialog::gold_chart
- ./src/gui/history-report-dialog.h:77 [possible error] - Memory leak: HistoryReportDialog::rank_chart
- ./src/gui/new-game-progress-window.cpp:85 [possible error] - Memory leak: game_scenario
- ./src/gui/report-dialog.h:68 [possible error] - Memory leak: ReportDialog::army_chart
- ./src/gui/report-dialog.h:70 [possible error] - Memory leak: ReportDialog::city_chart
- ./src/gui/report-dialog.h:72 [possible error] - Memory leak: ReportDialog::gold_chart
- ./src/gui/report-dialog.h:74 [possible error] - Memory leak: ReportDialog::winning_chart
- ./src/Ownable.h:38 [error] - Class Ownable which is inherited by class NetworkAction does not have a virtual destructor
- ./src/Ownable.h:38 [error] - Class Ownable which is inherited by class NetworkHistory does not have a virtual destructor
- ./src/player.cpp:3129 [possible error] - Memory leak: item
- ./src/player.cpp:3438 [possible error] - Memory leak: copy
- ./src/portlist.h:33 [information] - Failed to instantiate template. The checking continues anyway.
- ./src/shieldset.cpp:143 [possible error] - Memory leak: ShieldsetLoader::shieldset
- ./src/signpostlist.h:33 [information] - Failed to instantiate template. The checking continues anyway.
- ./src/sound.cpp:325 [possible error] - Memory leak: item
- ./src/Ownable.h:38 [error] - Class Ownable which is inherited by class Stack does not have a virtual destructor
- ./src/tileset.cpp:356 [possible error] - Memory leak: TilesetLoader::tileset
- ./src/Ownable.h:38 [error] - Class Ownable which is inherited by class VectoredUnit does not have a virtual destructor
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:42 +0000, based on results by cppcheck 1.41-modif