diff options
Diffstat (limited to 'Database/internals/database-segment.cpp')
-rw-r--r-- | Database/internals/database-segment.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Database/internals/database-segment.cpp b/Database/internals/database-segment.cpp index 8ee5b4b..6ced68f 100644 --- a/Database/internals/database-segment.cpp +++ b/Database/internals/database-segment.cpp @@ -9,7 +9,7 @@ Segment::Segment(Uint32 size, Uint32 id, Uint64 cpu_base, Uint32 extra_size, con assert(size); - if (data) { + if (data || !size) { plainmemory = (Byte *) data; loaded = true; allocated = false; |