mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 14:25:41 +00:00
Always define MDL to pass a filename and line number.
This commit is contained in:
@@ -391,11 +391,10 @@ void dfree (void *, const char *, int);
|
||||
#if defined (DEBUG_MEMORY_LEAKAGE) || defined (DEBUG_MALLOC_POOL)
|
||||
void dmalloc_reuse (void *, const char *, int, int);
|
||||
void dmalloc_dump_outstanding (void);
|
||||
#define MDL __FILE__, __LINE__
|
||||
#else
|
||||
#define dmalloc_reuse(x,y,l,z)
|
||||
#define MDL (char *)0, __LINE__
|
||||
#endif
|
||||
#define MDL __FILE__, __LINE__
|
||||
#if defined (DEBUG_RC_HISTORY)
|
||||
void dump_rc_history (void);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user