summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/DlgUpdate.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2014-06-06 19:37:48 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2014-06-06 19:37:48 +0000
commita03937bb912c76af61f04da1c5d5a5e7d5e4d7aa (patch)
tree720ecb2afaf71eeac2668c4092146efd152de3a1 /plugins/PluginUpdater/src/DlgUpdate.cpp
parentf96ab83fc3a69d2bbb6c56e33265a60bf9163add (diff)
Fixed another memory leak when silent updated failed.
git-svn-id: http://svn.miranda-ng.org/main/trunk@9415 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/DlgUpdate.cpp')
-rw-r--r--plugins/PluginUpdater/src/DlgUpdate.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/PluginUpdater/src/DlgUpdate.cpp b/plugins/PluginUpdater/src/DlgUpdate.cpp
index 1d5351f519..a7e0995b14 100644
--- a/plugins/PluginUpdater/src/DlgUpdate.cpp
+++ b/plugins/PluginUpdater/src/DlgUpdate.cpp
@@ -378,6 +378,7 @@ static void DlgUpdateSilent(void *lParam)
// interrupt update as we require all components to be updated
Netlib_CloseHandle(nlc);
SkinPlaySound("updatefailed");
+ delete &UpdateFiles;
return;
}
count++;