summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/PluginUpdater/src/DlgListNew.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/PluginUpdater/src/DlgListNew.cpp b/plugins/PluginUpdater/src/DlgListNew.cpp
index 82411128bc..4b8a0d6ec6 100644
--- a/plugins/PluginUpdater/src/DlgListNew.cpp
+++ b/plugins/PluginUpdater/src/DlgListNew.cpp
@@ -192,7 +192,7 @@ public:
Utils_SaveWindowPosition(m_hwnd, NULL, MODULENAME, "ListWindow");
Window_FreeIcon_IcoLib(m_hwnd);
hwndDialog = nullptr;
- delete (OBJLIST<FILEINFO> *)GetWindowLongPtr(m_hwnd, GWLP_USERDATA);
+ delete todo;
}
int Resizer(UTILRESIZECONTROL *urc) override