diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-10 12:23:50 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-03-10 12:23:50 -0600 |
commit | 17f9d5abcb05da185486ccfba293f3a8c9eab437 (patch) | |
tree | 7545a7bdd3acefc1ff92f345416872c896b90ddb /src/gui/window.cpp | |
parent | 4a08d3b4bec3fa0fc1878140b0f14c8b38d6420b (diff) | |
download | mana-17f9d5abcb05da185486ccfba293f3a8c9eab437.tar.gz mana-17f9d5abcb05da185486ccfba293f3a8c9eab437.tar.bz2 mana-17f9d5abcb05da185486ccfba293f3a8c9eab437.tar.xz mana-17f9d5abcb05da185486ccfba293f3a8c9eab437.zip |
Fix some mem leaks
Diffstat (limited to 'src/gui/window.cpp')
-rw-r--r-- | src/gui/window.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/window.cpp b/src/gui/window.cpp index 8eaaf31d..be63ff21 100644 --- a/src/gui/window.cpp +++ b/src/gui/window.cpp @@ -142,6 +142,8 @@ Window::~Window() delete(w); } + removeWidgetListener(this); + instances--; // Clean up static resources |