diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-02-07 17:10:39 -0700 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-02-07 17:10:39 -0700 |
commit | ed39c71b2b6b47931f352ca07b49f631d6bf713a (patch) | |
tree | b66630214ae3b84aa5e8cb910c2801b2a610012b /src/gui/updatewindow.cpp | |
parent | dca3a657c821925b6a3d6776e7cdcb35608989fe (diff) | |
download | mana-ed39c71b2b6b47931f352ca07b49f631d6bf713a.tar.gz mana-ed39c71b2b6b47931f352ca07b49f631d6bf713a.tar.bz2 mana-ed39c71b2b6b47931f352ca07b49f631d6bf713a.tar.xz mana-ed39c71b2b6b47931f352ca07b49f631d6bf713a.zip |
Cleanup some memory issues
Diffstat (limited to 'src/gui/updatewindow.cpp')
-rw-r--r-- | src/gui/updatewindow.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/updatewindow.cpp b/src/gui/updatewindow.cpp index 508148e6..85a14ba8 100644 --- a/src/gui/updatewindow.cpp +++ b/src/gui/updatewindow.cpp @@ -180,6 +180,9 @@ UpdaterWindow::~UpdaterWindow() if (mDownload) { mDownload->cancel(); + + delete mDownload; + mDownload = 0; } free(mMemoryBuffer); } |