summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-02-14 19:00:44 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-02-14 19:00:44 +0300
commit976d7c7082d30d6811d776a4108e265fa608c0cf (patch)
treeb987d194df86fe37affa8584073e0ec8392d0e6d /src
parent9c5bcfa55b13b5df3703d4ba8ab9d70527a2587a (diff)
fixes #3331 (crash on file receiving)
Diffstat (limited to 'src')
-rw-r--r--src/core/stdfile/src/filerecvdlg.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/stdfile/src/filerecvdlg.cpp b/src/core/stdfile/src/filerecvdlg.cpp
index 614c1e24ad..408224768c 100644
--- a/src/core/stdfile/src/filerecvdlg.cpp
+++ b/src/core/stdfile/src/filerecvdlg.cpp
@@ -315,6 +315,7 @@ public:
GetDlgItemText(m_hwnd, IDC_MSG, dat->szMsg, _countof(dat->szMsg));
FtMgr_AddTransfer(dat);
SetWindowLongPtr(m_hwnd, GWLP_USERDATA, 0);
+ dat = nullptr;
// check for auto-minimize here to fix BUG#647620
if (g_plugin.bAutoAccept && g_plugin.bAutoMin) {