summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2005-09-18 20:22:07 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2005-09-18 20:22:07 +0000
commit89dbeaaee05a6ce7adc353f5676df211c1ed83fb (patch)
tree3f18e18af0248ae555d90f48f0217d3c5371505a /src/gui
parent761c274a741869ef767d0db2cd8ef0eca149ce3d (diff)
downloadmana-89dbeaaee05a6ce7adc353f5676df211c1ed83fb.tar.gz
mana-89dbeaaee05a6ce7adc353f5676df211c1ed83fb.tar.bz2
mana-89dbeaaee05a6ce7adc353f5676df211c1ed83fb.tar.xz
mana-89dbeaaee05a6ce7adc353f5676df211c1ed83fb.zip
Applyed biggeruniverse's patch to fix memory leaks.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui.cpp1
-rw-r--r--src/gui/updatewindow.cpp3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index 3642b004..6edcd1a4 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -181,6 +181,7 @@ Gui::~Gui()
}
delete mGuiFont;
+ delete speechFont;
delete mTop;
delete mImageLoader;
diff --git a/src/gui/updatewindow.cpp b/src/gui/updatewindow.cpp
index e0c098f0..81ae885c 100644
--- a/src/gui/updatewindow.cpp
+++ b/src/gui/updatewindow.cpp
@@ -110,7 +110,8 @@ UpdaterWindow::~UpdaterWindow()
remove((mBasePath + "/updates/resources.txt").c_str());
remove((mBasePath + "/updates/download.temp").c_str());
- delete mCurlError;
+ delete [] mCurlError;
+ delete mScrollArea;
delete mLabel;
delete mProgressBar;
delete mCancelButton;