diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-05-25 02:51:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-05-25 02:51:51 +0300 |
commit | 8d80b897b5863372649de9b5f3c8d7234ae47f58 (patch) | |
tree | a109bb1adeee89489113a4637ecd197dae403018 /src/gui/shortcutwindow.cpp | |
parent | 1f4032b8de527da72ef4b89371c077eea644fdf2 (diff) | |
download | plus-8d80b897b5863372649de9b5f3c8d7234ae47f58.tar.gz plus-8d80b897b5863372649de9b5f3c8d7234ae47f58.tar.bz2 plus-8d80b897b5863372649de9b5f3c8d7234ae47f58.tar.xz plus-8d80b897b5863372649de9b5f3c8d7234ae47f58.zip |
Fix some memory leaks in being, debugwindow, shortcutwindow, skilldialog, map classes.
Diffstat (limited to 'src/gui/shortcutwindow.cpp')
-rw-r--r-- | src/gui/shortcutwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/shortcutwindow.cpp b/src/gui/shortcutwindow.cpp index f9db35ff6..0492afce0 100644 --- a/src/gui/shortcutwindow.cpp +++ b/src/gui/shortcutwindow.cpp @@ -131,6 +131,8 @@ ShortcutWindow::ShortcutWindow(const std::string &title, int width, int height) ShortcutWindow::~ShortcutWindow() { + if (mTabs) + mTabs->removeAll(); delete mTabs; mTabs = 0; delete mItems; |