diff options
Diffstat (limited to 'src/core/stdfile/filerecvdlg.cpp')
-rw-r--r-- | src/core/stdfile/filerecvdlg.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/stdfile/filerecvdlg.cpp b/src/core/stdfile/filerecvdlg.cpp index 5bed7dbd7b..68e84dcf73 100644 --- a/src/core/stdfile/filerecvdlg.cpp +++ b/src/core/stdfile/filerecvdlg.cpp @@ -418,7 +418,8 @@ INT_PTR CALLBACK DlgProcRecvFile(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM l Button_FreeIcon_IcoLib(hwndDlg, IDC_HISTORY);
Button_FreeIcon_IcoLib(hwndDlg, IDC_USERMENU);
- if (dat) FreeFileDlgData(dat);
+ FreeFileDlgData(dat);
+ SetWindowLongPtr(hwndDlg, GWLP_USERDATA, 0);
break;
}
return FALSE;
|