mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
don't test BER_MEM_VALID forever.
This commit is contained in:
parent
a9fca665e6
commit
82def24b31
@ -30,7 +30,7 @@ static const struct ber_mem_hdr ber_int_mem_hdr = { BER_MEM_JUNK };
|
||||
#define BER_MEM_VALID(p) do { \
|
||||
assert( (p) != BER_MEM_BADADDR ); \
|
||||
assert( (p) != (void *) &ber_int_mem_hdr ); \
|
||||
} while(1)
|
||||
} while(0)
|
||||
#else
|
||||
#define BER_MEM_VALID(p) /* no-op */
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user