mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
the BAD_PTR idea in talloc.h is actually a bad idea - it means callers have no way of telling if the call really failed
(This used to be commit 7a96ca313e
)
This commit is contained in:
@ -21,12 +21,6 @@
|
||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#ifdef DEBUG_TALLOC
|
||||
#define BAD_PTR (void*)0xdeadbeef
|
||||
#else
|
||||
#define BAD_PTR NULL
|
||||
#endif
|
||||
|
||||
struct talloc_chunk {
|
||||
struct talloc_chunk *next;
|
||||
size_t size;
|
||||
|
Reference in New Issue
Block a user