待辦事項 #47995

Qt: fc_client::start_page_menu() clang analyzer warnings

啟用日期: 2023-05-08 15:53 最後更新: 2023-05-12 09:06

回報者:
負責人:
類型:
狀態:
關閉
元件:
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
修正
檔案:
1

細節

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 History (3/4 Histories)

2023-05-08 15:53 Updated by: cazfi
  • New Ticket "Qt: fc_client::start_page_menu() clang analyzer warnings" created
2023-05-09 04:15 Updated by: cazfi
  • 負責人 Update from (無) to cazfi
  • 處理結果 Update from to Accepted
  • 里程碑 Update from (無) to 3.1.0-beta2 (closed)
2023-05-12 09:06 Updated by: cazfi
  • 狀態 Update from 開啟 to 關閉
  • 處理結果 Update from Accepted to 修正

編輯

Please login to add comment to this ticket » 登入