mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-15 00:42:20 +00:00
fixed bad setup in FileData constructor.
This commit is contained in:
parent
751ee7390b
commit
d2c395757c
1 changed files with 2 additions and 1 deletions
|
@ -89,7 +89,8 @@ public:
|
|||
if (own)
|
||||
{
|
||||
length = len;
|
||||
memory = allocate(len);
|
||||
memory = malloc(len);
|
||||
owned = true;
|
||||
if (memory_) memcpy(memory, memory_, len);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue