git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move SAFE_FREE into tdb.c to stop exporting it into tdb.h namespace.
[ira/wip.git]
/
source3
/
tdb
/
tdb.h
diff --git
a/source3/tdb/tdb.h
b/source3/tdb/tdb.h
index da8cca19defc754a424623eedac030fb247d8ac1..9335725a2aca77aa876273912cdc646d54841452 100644
(file)
--- 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