summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/setup_players.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-07-30 01:51:12 +0300
committerAndrei Karas <akaras@inbox.ru>2015-07-30 01:51:12 +0300
commit4eeb20aae588b9c3d1c4ed4462306391e20e58fc (patch)
tree7adbdfe3f4eabf8eb1aaf24e3d1237abca1e2d18 /src/gui/widgets/tabs/setup_players.cpp
parent680907bf9095518b99799860d647756c1ee72545 (diff)
downloadplus-4eeb20aae588b9c3d1c4ed4462306391e20e58fc.tar.gz
plus-4eeb20aae588b9c3d1c4ed4462306391e20e58fc.tar.bz2
plus-4eeb20aae588b9c3d1c4ed4462306391e20e58fc.tar.xz
plus-4eeb20aae588b9c3d1c4ed4462306391e20e58fc.zip
Fix memory leak on exit.
Diffstat (limited to 'src/gui/widgets/tabs/setup_players.cpp')
-rw-r--r--src/gui/widgets/tabs/setup_players.cpp6
1 files changed, 6 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);
+}