From 1cce779d7723da5dc1ad68b5f7715e6ea3bfb0b8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 22 Jun 2001 01:56:16 +0000 Subject: 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 7a96ca313e2f6b5ad8a713babd3cac0bbcc4c399) --- source3/include/talloc.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'source3/include/talloc.h') diff --git a/source3/include/talloc.h b/source3/include/talloc.h index a4df28c8b0..89c2f82e05 100644 --- a/source3/include/talloc.h +++ b/source3/include/talloc.h @@ -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; -- cgit