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

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/7zip/Common/InMemStream.h')
-rwxr-xr-xCPP/7zip/Common/InMemStream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/CPP/7zip/Common/InMemStream.h b/CPP/7zip/Common/InMemStream.h
index 73f344ee..636718c6 100755
--- a/CPP/7zip/Common/InMemStream.h
+++ b/CPP/7zip/Common/InMemStream.h
@@ -85,7 +85,7 @@ public:
HRes AllocateList(int numItems)
{
if (!CResourceList::AllocateList(numItems))
- return false;
+ return E_OUTOFMEMORY;
Semaphore.Close();
return Semaphore.Create(numItems, numItems);
}