mirror of
https://github.com/MariaDB/server.git
synced 2026-04-22 16:25:30 +02:00
safemalloc always resets the free'd memory, not only when PEDANTIC_SAFEMALLOC
This commit is contained in:
parent
02614a0247
commit
3de8784b17
2 changed files with 3 additions and 3 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue