summaryrefslogtreecommitdiff
path: root/src/gui/window.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-10 12:23:50 -0600
committerIra Rice <irarice@gmail.com>2009-03-10 12:43:02 -0600
commit75fc8e62d25ff1d39408588f76d95df4a9a7e663 (patch)
treebaea474d54281912dfec08d75319a4a09f4e03bd /src/gui/window.cpp
parent0540c611b48fd8dee14066b13755138192b7084b (diff)
downloadmana-client-75fc8e62d25ff1d39408588f76d95df4a9a7e663.tar.gz
mana-client-75fc8e62d25ff1d39408588f76d95df4a9a7e663.tar.bz2
mana-client-75fc8e62d25ff1d39408588f76d95df4a9a7e663.tar.xz
mana-client-75fc8e62d25ff1d39408588f76d95df4a9a7e663.zip
Fix some mem leaks
Diffstat (limited to 'src/gui/window.cpp')
-rw-r--r--src/gui/window.cpp2
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