From d3e9213af7d8d5b3f035c4be99997cb590cdaf6e Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 9 Jan 2002 18:26:39 +0000 Subject: Move SAFE_FREE into tdb.c to stop exporting it into tdb.h namespace. Jeremy. (This used to be commit 4f703b84cd7f258ae0169d52ca761b9404ccb348) --- source3/tdb/tdb.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'source3/tdb/tdb.h') diff --git a/source3/tdb/tdb.h b/source3/tdb/tdb.h index da8cca19def..9335725a2ac 100644 --- a/source3/tdb/tdb.h +++ b/source3/tdb/tdb.h @@ -135,11 +135,6 @@ void tdb_printfreelist(TDB_CONTEXT *tdb); extern TDB_DATA tdb_null; -/* free memory if the pointer is valid and zero the pointer */ -#ifndef SAFE_FREE -#define SAFE_FREE(x) do { if ((x) != NULL) {free((x)); (x)=NULL;} } while(0) -#endif - #ifdef __cplusplus } #endif -- cgit