1
0
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:
Andrew Tridgell
2001-06-22 01:56:16 +00:00
parent 024250d6ca
commit 1cce779d77
2 changed files with 1 additions and 13 deletions

View File

@ -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;