Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/rarfilesource.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'RFS.cpp')
-rw-r--r--RFS.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/RFS.cpp b/RFS.cpp
index d63ba5f..263b997 100644
--- a/RFS.cpp
+++ b/RFS.cpp
@@ -666,7 +666,7 @@ int CALLBACK CRARFileSource::DlgFileList (HWND hwndDlg, UINT uMsg, WPARAM wParam
MultiByteToWideChar (CP_ACP, 0, file->filename, -1, tempString, len);
index = ListBox_AddString (GetDlgItem (hwndDlg, IDC_FILELIST), tempString);
ListBox_SetItemData(GetDlgItem (hwndDlg, IDC_FILELIST), index, file);
- delete tempString;
+ delete [] tempString;
file = file_list->Next (file);
}