diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-10 12:23:50 -0600 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-03-10 12:43:02 -0600 |
commit | 75fc8e62d25ff1d39408588f76d95df4a9a7e663 (patch) | |
tree | baea474d54281912dfec08d75319a4a09f4e03bd /src/gui/window.cpp | |
parent | 0540c611b48fd8dee14066b13755138192b7084b (diff) | |
download | mana-75fc8e62d25ff1d39408588f76d95df4a9a7e663.tar.gz mana-75fc8e62d25ff1d39408588f76d95df4a9a7e663.tar.bz2 mana-75fc8e62d25ff1d39408588f76d95df4a9a7e663.tar.xz mana-75fc8e62d25ff1d39408588f76d95df4a9a7e663.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 bf1ec01c..b0bf1c59 100644 --- a/src/gui/window.cpp +++ b/src/gui/window.cpp @@ -130,6 +130,8 @@ Window::~Window() delete(w); } + removeWidgetListener(this); + instances--; // Clean up static resources |