diff options
author | Volker Lendecke <vl@samba.org> | 2009-03-22 09:47:51 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-03-22 09:47:51 +0100 |
commit | f15a0305f3982a9bc54aac0690e25a52f1021bb2 (patch) | |
tree | 8520e44dc96b52529b5a5121ec2996afe2098084 /lib/talloc | |
parent | c086c26ffba72f27530d93ca4a7ad315203f7194 (diff) | |
download | samba-f15a0305f3982a9bc54aac0690e25a52f1021bb2.tar.gz samba-f15a0305f3982a9bc54aac0690e25a52f1021bb2.tar.bz2 samba-f15a0305f3982a9bc54aac0690e25a52f1021bb2.zip |
Revert "Document TALLOC_FREE()"
This reverts commit 3f81649b8dcadb3bd424f41d803dbd59f770b9ba.
Diffstat (limited to 'lib/talloc')
-rw-r--r-- | lib/talloc/talloc.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/talloc/talloc.h b/lib/talloc/talloc.h index d103d6f4f2..01e7326ccc 100644 --- a/lib/talloc/talloc.h +++ b/lib/talloc/talloc.h @@ -633,16 +633,6 @@ typedef void TALLOC_CTX; #define talloc_append_string(c, s, a) (s?talloc_strdup_append(s,a):talloc_strdup(c, a)) #endif -/** - * \def TALLOC_FREE(ctx) - * \brief talloc_free a chunk and NULL out the pointer - * \param ctx The chunk to be freed - * \ingroup talloc_basic - * - * TALLOC_FREE() frees a pointer and sets it to NULL. Use this if you want - * immediate feedback (i.e. crash) if you use a pointer after having free'ed - * it. - */ #define TALLOC_FREE(ctx) do { talloc_free(ctx); ctx=NULL; } while(0) /** |