Commit 91b3cb3
committed
FIX: remove duplicate CMakeLists sources and leak timer_sync_printer
F-010: Scrollbar.cpp and ScrolledWindow.cpp were listed twice in
SLIC3R_GUI_SOURCES (lines 39/41 and 73/75), violating the ODR and
inflating incremental build time for those translation units.
F-006: Sidebar::priv::~priv() never deleted timer_sync_printer, which
is heap-allocated at member initialisation (= new wxTimer()). Add
Stop() + delete in the destructor to plug the leak on application exit.
Ref: #102891 parent 4dac1d2 commit 91b3cb3
2 files changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | 73 | | |
78 | 74 | | |
79 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
996 | 996 | | |
997 | 997 | | |
998 | 998 | | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
999 | 1005 | | |
1000 | 1006 | | |
1001 | 1007 | | |
| |||
0 commit comments