diff options
Diffstat (limited to 'src/gui/partywindow.cpp')
-rw-r--r-- | src/gui/partywindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/partywindow.cpp b/src/gui/partywindow.cpp index aea1388b..9c2d3161 100644 --- a/src/gui/partywindow.cpp +++ b/src/gui/partywindow.cpp @@ -26,6 +26,7 @@ #include "net/net.h" #include "net/partyhandler.h" +#include "utils/dtor.h" #include "utils/gettext.h" #include "utils/strprintf.h" @@ -45,7 +46,7 @@ PartyWindow::PartyWindow() : Window(_("Party")) PartyWindow::~PartyWindow() { - mMembers.clear(); + delete_all(mMembers); } void PartyWindow::draw(gcn::Graphics *graphics) |