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 23:07:28 +0300
committerOctaneSnail <os@v12pwr.com>2008-12-14 23:07:28 +0300
commitebe420fcadc882c88db0eaf3d411abb9da7e6d40 (patch)
tree0b570948c01e80a390bd1cafe0772b005c892e37 /RFS.cpp
parent4aae7fcbae1a3b306c2ec00f62e4f4df8493f1c5 (diff)
Fix memory leak.
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 263b997..c6f464a 100644
--- a/RFS.cpp
+++ b/RFS.cpp
@@ -252,7 +252,7 @@ int CRARFileSource::ScanArchive (wchar_t *archive_name, List<File> *file_list, i
LARGE_INTEGER zero = {0};
MediaType *mType;
- List<MediaType> mediaTypeList;
+ List<MediaType> mediaTypeList(true);
Anchor<File> af (&file);
ArrayAnchor<wchar_t> acrf (&current_rar_filename);