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>2012-02-04 16:27:37 +0400
committerOctaneSnail <os@v12pwr.com>2012-02-04 16:27:37 +0400
commit9869a5b4028d8c358be9d095c7405bd76c970841 (patch)
treefa2e1dae03551efcade5a6c33956ee1d9d4644b7
parent2680205f07261ff93c9582d9ea9a7f6fe9fec7b6 (diff)
Fix memory leak.
-rw-r--r--RFS.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/RFS.cpp b/RFS.cpp
index aeb06a1..dcebf1e 100644
--- a/RFS.cpp
+++ b/RFS.cpp
@@ -493,6 +493,7 @@ int CRARFileSource::ScanArchive (wchar_t *archive_name, List<File> *file_list, i
if (!file)
{
ErrorMsg (0, L"Out of memory.");
+ delete [] rh.fh.filename;
return FALSE;
}