summaryrefslogtreecommitdiff
path: root/src/gui/updatewindow.cpp
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/updatewindow.cpp
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/updatewindow.cpp')
-rw-r--r--src/gui/updatewindow.cpp3
1 files changed, 2 insertions, 1 deletions
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;