summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {