mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
safemalloc always resets the free'd memory, not only when PEDANTIC_SAFEMALLOC
This commit is contained in:
@ -19,9 +19,9 @@
|
||||
#pragma interface /* gcc class implementation */
|
||||
#endif
|
||||
|
||||
/* mysql standard class memoryallocator */
|
||||
/* mysql standard class memory allocator */
|
||||
|
||||
#ifdef PEDANTIC_SAFEMALLOC
|
||||
#ifdef SAFEMALLOC
|
||||
#define TRASH(XX,YY) bfill((XX), (YY), 0x8F)
|
||||
#else
|
||||
#define TRASH(XX,YY) /* no-op */
|
||||
|
Reference in New Issue
Block a user