#47995: Qt: fc_client::start_page_menu() clang analyzer warnings Open Date: 2023-05-08 09:53 Last Update: 2023-05-08 09:53 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/47995 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=47995 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2023-05-08 09:53 Updated by: cazfi * New Ticket "Qt: fc_client::start_page_menu() clang analyzer warnings" created --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: (None) Component: Qt-client Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: Clang analyzer about S3_2. ../../../../src/client/gui-qt/pages.cpp:2092:1: warning: Potential leak of memory pointed to by 'menu' [cplusplus.NewDeleteLeaks] } ^ ../../../../src/client/gui-qt/pages.cpp:2092:1: warning: Potential leak of memory pointed to by 'submenu_AI' [cplusplus.NewDeleteLeaks] ../../../../src/client/gui-qt/pages.cpp:2092:1: warning: Potential leak of memory pointed to by 'submenu_team' [cplusplus.NewDeleteLeaks] -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/47995 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=47995