1
0
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:
serg@serg.mylan
2004-07-26 21:33:42 +02:00
parent 02614a0247
commit 3de8784b17
2 changed files with 3 additions and 3 deletions

View File

@ -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 */