fixed bad setup in FileData constructor.

This commit is contained in:
Christoph Oelckers 2023-12-21 17:14:56 +01:00
parent 751ee7390b
commit d2c395757c

View file

@ -89,7 +89,8 @@ public:
if (own)
{
length = len;
memory = allocate(len);
memory = malloc(len);
owned = true;
if (memory_) memcpy(memory, memory_, len);
}
else