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