Update to 7-Zip Version 21.02

This commit is contained in:
Tino Reichardt
2021-05-13 16:39:14 +02:00
parent 3724ecfedc
commit 48fa49f76c
620 changed files with 35032 additions and 10925 deletions

View File

@@ -57,6 +57,15 @@ public:
ISzAlloc_Free(&g_AlignedAlloc, _data);
}
CAlignedBuffer(size_t size): _size(0)
{
_data = NULL;
_data = (Byte *)ISzAlloc_Alloc(&g_AlignedAlloc, size);
if (!_data)
throw 1;
_size = size;
}
void Free()
{
ISzAlloc_Free(&g_AlignedAlloc, _data);