mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 18:43:03 +01:00
All memory allocations should be ALLOC_ALLIGMENT aligned.
It fixed bug in Win64 DEBUG build.
This commit is contained in:
parent
12399c8fd2
commit
a3ab95f8f6
@ -77,10 +77,10 @@ static void* stopAddress = (void*) 0x2254938;
|
||||
***/
|
||||
|
||||
#ifdef MEM_DEBUG
|
||||
static const int GUARD_BYTES = sizeof(long); // * 2048;
|
||||
static const UCHAR INIT_BYTE = 0xCC;
|
||||
static const UCHAR GUARD_BYTE = 0xDD;
|
||||
static const UCHAR DEL_BYTE = 0xEE;
|
||||
static const int GUARD_BYTES = Firebird::ALLOC_ALIGNMENT; // * 2048;
|
||||
static const UCHAR INIT_BYTE = 0xCC;
|
||||
static const UCHAR GUARD_BYTE = 0xDD;
|
||||
static const UCHAR DEL_BYTE = 0xEE;
|
||||
#else
|
||||
static const int GUARD_BYTES = 0;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user