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:
authorOctaneSnail <os@v12pwr.com>2008-12-14 01:15:54 +0300
committerOctaneSnail <os@v12pwr.com>2008-12-14 12:44:33 +0300
commit955fda14428fad7f9ddfa0ac20e6bdeb1c2b5db0 (patch)
tree8badcacab91caf5ef81af6c8b799918e72f54066 /RFS.cpp
parent9da81f0ab3106b64312398f476b1ba3a383d2103 (diff)
Fix incorrect array deletes.
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);
}