mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-09-04 08:15:14 +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)
|
#if defined (DEBUG_MEMORY_LEAKAGE) || defined (DEBUG_MALLOC_POOL)
|
||||||
void dmalloc_reuse (void *, const char *, int, int);
|
void dmalloc_reuse (void *, const char *, int, int);
|
||||||
void dmalloc_dump_outstanding (void);
|
void dmalloc_dump_outstanding (void);
|
||||||
#define MDL __FILE__, __LINE__
|
|
||||||
#else
|
#else
|
||||||
#define dmalloc_reuse(x,y,l,z)
|
#define dmalloc_reuse(x,y,l,z)
|
||||||
#define MDL (char *)0, __LINE__
|
|
||||||
#endif
|
#endif
|
||||||
|
#define MDL __FILE__, __LINE__
|
||||||
#if defined (DEBUG_RC_HISTORY)
|
#if defined (DEBUG_RC_HISTORY)
|
||||||
void dump_rc_history (void);
|
void dump_rc_history (void);
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user