diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/widgets/tabs/setup_players.cpp | 6 | ||||
-rw-r--r-- | src/gui/widgets/tabs/setup_players.h | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/widgets/tabs/setup_players.cpp b/src/gui/widgets/tabs/setup_players.cpp index cd28c8d69..4b04568ee 100644 --- a/src/gui/widgets/tabs/setup_players.cpp +++ b/src/gui/widgets/tabs/setup_players.cpp @@ -29,6 +29,7 @@ #include "gui/widgets/scrollarea.h" #include "gui/widgets/setupitem.h" +#include "utils/delete2.h" #include "utils/gettext.h" #include "debug.h" @@ -130,3 +131,8 @@ Setup_Players::Setup_Players(const Widget2 *const widget) : setDimension(Rect(0, 0, 550, 350)); } + +Setup_Players::~Setup_Players() +{ + delete2(mBadgesList); +} diff --git a/src/gui/widgets/tabs/setup_players.h b/src/gui/widgets/tabs/setup_players.h index 801839649..f8df9538f 100644 --- a/src/gui/widgets/tabs/setup_players.h +++ b/src/gui/widgets/tabs/setup_players.h @@ -32,6 +32,8 @@ class Setup_Players final : public SetupTabScroll public: explicit Setup_Players(const Widget2 *const widget); + ~Setup_Players(); + A_DELETE_COPY(Setup_Players) private: |