Disabled extra verbose malloc debug stuff.

This commit is contained in:
gardners 2012-03-22 17:15:51 +10:30
parent 2b42f77ccf
commit 3e0e1bf7e3

View File

@ -1053,6 +1053,7 @@ extern int mdp_client_socket;
int ob_bcopy(overlay_buffer *b,int from, int to, int len);
int ob_setbyte(overlay_buffer *b,int ofs,unsigned char value);
#ifdef MALLOC_PARANOIA
#define malloc(X) _serval_debug_malloc(X,__FILE__,__FUNCTION__,__LINE__)
#define calloc(X,Y) _serval_debug_calloc(X,Y,__FILE__,__FUNCTION__,__LINE__)
#define free(X) _serval_debug_free(X,__FILE__,__FUNCTION__,__LINE__)
@ -1060,5 +1061,4 @@ int ob_setbyte(overlay_buffer *b,int ofs,unsigned char value);
void *_serval_debug_malloc(unsigned int bytes,char *file,const char *func,int line);
void *_serval_debug_calloc(unsigned int bytes,unsigned int count,char *file,const char *func,int line);
void _serval_debug_free(void *p,char *file,const char *func,int line);
#endif