Author Topic: wxSmith, simple dialog base app and valgrind leaks  (Read 4593 times)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
wxSmith, simple dialog base app and valgrind leaks
« on: January 24, 2010, 01:49:19 pm »
Hello,
I made a simple/default wxWidgets project that is dialog based. The project uses wxSmith for the GUI editing.
When I run the app through valgrind I get many leaks/possible leaks (see the log below).
Is this normal behaviour of a wx app or it is a problem of wxSmith?

Code
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|5 bytes in 1 blocks are possibly lost in loss record 13 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|6 bytes in 1 blocks are possibly lost in loss record 22 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|6 bytes in 1 blocks are possibly lost in loss record 23 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|7 bytes in 1 blocks are possibly lost in loss record 27 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|7 bytes in 1 blocks are possibly lost in loss record 28 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|8 bytes in 1 blocks are possibly lost in loss record 107 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|8 bytes in 1 blocks are possibly lost in loss record 108 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|8 bytes in 1 blocks are possibly lost in loss record 109 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|8 bytes in 1 blocks are possibly lost in loss record 110 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|8 bytes in 1 blocks are possibly lost in loss record 111 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|8 bytes in 1 blocks are possibly lost in loss record 112 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|8 bytes in 1 blocks are possibly lost in loss record 113 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|10 bytes in 1 blocks are possibly lost in loss record 131 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|16 bytes in 1 blocks are possibly lost in loss record 571 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|20 bytes in 3 blocks are possibly lost in loss record 609 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|24 bytes in 1 blocks are possibly lost in loss record 751 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|24 bytes in 1 blocks are possibly lost in loss record 752 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|40 bytes in 1 blocks are possibly lost in loss record 932 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksMain.cpp||In function 'wxdialog_leaksDialog::wxdialog_leaksDialog(wxWindow*, int)' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksMain.cpp|55|40 bytes in 1 blocks are possibly lost in loss record 947 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|48 bytes in 1 blocks are possibly lost in loss record 977 of 1,702|
/usr/include/wx-2.8/wx/toplevel.h||In function 'wxTopLevelWindow::~wxTopLevelWindow()' :|
/usr/include/wx-2.8/wx/toplevel.h|353|64 bytes in 1 blocks are possibly lost in loss record 1,056 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksMain.cpp||In function 'wxdialog_leaksDialog::wxdialog_leaksDialog(wxWindow*, int)' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksMain.cpp|55|66 bytes in 11 blocks are possibly lost in loss record 1,059 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'wxdialog_leaksApp::OnInit()' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|26|66 bytes in 11 blocks are possibly lost in loss record 1,059 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksMain.cpp||In function 'wxdialog_leaksDialog::wxdialog_leaksDialog(wxWindow*, int)' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksMain.cpp|55|66 bytes in 11 blocks are possibly lost in loss record 1,060 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'wxdialog_leaksApp::OnInit()' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|26|66 bytes in 11 blocks are possibly lost in loss record 1,060 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksMain.cpp||In function 'wxdialog_leaksDialog::wxdialog_leaksDialog(wxWindow*, int)' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksMain.cpp|55|83 bytes in 11 blocks are possibly lost in loss record 1,300 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'wxdialog_leaksApp::OnInit()' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|26|83 bytes in 11 blocks are possibly lost in loss record 1,300 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksMain.cpp||In function 'wxdialog_leaksDialog::wxdialog_leaksDialog(wxWindow*, int)' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksMain.cpp|55|88 bytes in 11 blocks are possibly lost in loss record 1,409 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'wxdialog_leaksApp::OnInit()' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|26|88 bytes in 11 blocks are possibly lost in loss record 1,409 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|96 bytes in 1 blocks are possibly lost in loss record 1,423 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|100 bytes in 3 blocks are possibly lost in loss record 1,426 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|103 bytes in 3 blocks are possibly lost in loss record 1,427 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|112 bytes in 1 blocks are possibly lost in loss record 1,436 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|120 bytes in 3 blocks are possibly lost in loss record 1,442 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|120 bytes in 3 blocks are possibly lost in loss record 1,443 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|128 bytes in 1 blocks are possibly lost in loss record 1,454 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|128 bytes in 1 blocks are possibly lost in loss record 1,455 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|128 bytes in 1 blocks are possibly lost in loss record 1,458 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|128 bytes in 1 blocks are possibly lost in loss record 1,459 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|128 bytes in 1 blocks are possibly lost in loss record 1,460 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|128 bytes in 1 blocks are possibly lost in loss record 1,461 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|128 bytes in 1 blocks are possibly lost in loss record 1,462 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|128 bytes in 1 blocks are possibly lost in loss record 1,463 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'wxdialog_leaksApp::OnInit()' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|28|144 bytes in 1 blocks are possibly lost in loss record 1,480 of 1,702|
/usr/include/wx-2.8/wx/app.h||In function 'wxAppConsole::CallOnInit()' :|
/usr/include/wx-2.8/wx/app.h|76|144 bytes in 1 blocks are possibly lost in loss record 1,480 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|144 bytes in 6 blocks are possibly lost in loss record 1,481 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|160 bytes in 1 blocks are possibly lost in loss record 1,488 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksMain.cpp||In function 'wxdialog_leaksDialog::wxdialog_leaksDialog(wxWindow*, int)' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksMain.cpp|55|181 bytes in 11 blocks are possibly lost in loss record 1,503 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'wxdialog_leaksApp::OnInit()' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|26|181 bytes in 11 blocks are possibly lost in loss record 1,503 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksMain.cpp||In function 'wxdialog_leaksDialog::wxdialog_leaksDialog(wxWindow*, int)' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksMain.cpp|55|181 bytes in 11 blocks are possibly lost in loss record 1,504 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'wxdialog_leaksApp::OnInit()' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|26|181 bytes in 11 blocks are possibly lost in loss record 1,504 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.h||In function 'wxdialog_leaksApp::wxdialog_leaksApp()' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.h|16|240 bytes in 1 blocks are possibly lost in loss record 1,537 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.h||In function 'wxdialog_leaksApp::wxdialog_leaksApp()' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.h|16|240 bytes in 1 blocks are possibly lost in loss record 1,538 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksMain.cpp||In function 'wxdialog_leaksDialog::wxdialog_leaksDialog(wxWindow*, int)' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksMain.cpp|55|440 bytes in 11 blocks are possibly lost in loss record 1,562 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'wxdialog_leaksApp::OnInit()' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|26|440 bytes in 11 blocks are possibly lost in loss record 1,562 of 1,702|
/usr/include/wx-2.8/wx/app.h||In function 'wxAppConsole::CallOnInit()' :|
/usr/include/wx-2.8/wx/app.h|76|440 bytes in 11 blocks are possibly lost in loss record 1,562 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|448 bytes in 1 blocks are possibly lost in loss record 1,569 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksMain.cpp||In function 'wxdialog_leaksDialog::wxdialog_leaksDialog(wxWindow*, int)' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksMain.cpp|55|545 bytes in 11 blocks are possibly lost in loss record 1,585 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'wxdialog_leaksApp::OnInit()' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|26|545 bytes in 11 blocks are possibly lost in loss record 1,585 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksMain.cpp||In function 'wxdialog_leaksDialog::wxdialog_leaksDialog(wxWindow*, int)' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksMain.cpp|55|545 bytes in 11 blocks are possibly lost in loss record 1,586 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksMain.cpp||In function 'wxdialog_leaksDialog::wxdialog_leaksDialog(wxWindow*, int)' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksMain.cpp|55|768 bytes in 1 blocks are possibly lost in loss record 1,594 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|1,008 bytes in 1 blocks are possibly lost in loss record 1,619 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|1,020 bytes in 1 blocks are possibly lost in loss record 1,629 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.h||In function 'wxdialog_leaksApp::wxdialog_leaksApp()' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.h|16|1,488 bytes in 3 blocks are possibly lost in loss record 1,645 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksMain.cpp||In function 'wxdialog_leaksDialog::wxdialog_leaksDialog(wxWindow*, int)' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksMain.cpp|55|1,488 bytes in 3 blocks are possibly lost in loss record 1,646 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'wxdialog_leaksApp::OnInit()' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|26|1,488 bytes in 3 blocks are possibly lost in loss record 1,646 of 1,702|
/usr/include/wx-2.8/wx/app.h||In function 'wxAppConsole::CallOnInit()' :|
/usr/include/wx-2.8/wx/app.h|76|1,488 bytes in 3 blocks are possibly lost in loss record 1,646 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|1,488 bytes in 3 blocks are possibly lost in loss record 1,646 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|1,536 bytes in 1 blocks are possibly lost in loss record 1,651 of 1,702|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp||In function 'main' :|
/home/obfuscated/projects/tests/wxdialog_leaks/wxdialog_leaksApp.cpp|17|1,984 bytes in 1 blocks are possibly lost in loss record 1,657 of 1,702|

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9702
Re: wxSmith, simple dialog base app and valgrind leaks
« Reply #1 on: January 24, 2010, 03:39:11 pm »
Is this normal behaviour of a wx app or it is a problem of wxSmith?
I don't know, but try a sample provided with wxWidgets. If it's the same there, you'll know... ;-)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7256
Re: wxSmith, simple dialog base app and valgrind leaks
« Reply #2 on: January 24, 2010, 03:52:47 pm »
wxWidgets is normally not used in debug-version.

Some of the objects you use are cleared automatically in the destructors of wxWidgets (as far as I know), but it might be that valgrind does not see what is freed and so beleives it's a possible leak.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9702
Re: wxSmith, simple dialog base app and valgrind leaks
« Reply #3 on: January 24, 2010, 04:50:00 pm »
but it might be that valgrind does not see what is freed and so beleives it's a possible leak.
Most likely. It's my experience with any code-checkers I tried with wxWidgets. Try e.g. CppCheck. It's the same there it reports literally millions of probably memory leaks whereas there aren't any (as all child objects are freed when e.g. the mother dialog is destroyed).
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ