summaryrefslogtreecommitdiffstats
path: root/source/passdb/passdb.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-02-20 17:59:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:10:14 -0500
commitb65be8874a2efe5a4b167448960a4fcf6bd995e2 (patch)
tree5a367e205b07d14766db02c41211346d5b6f3133 /source/passdb/passdb.c
parent69fb189a6b9947069afebb15d6ee6f2f20d15171 (diff)
downloadsamba-b65be8874a2efe5a4b167448960a4fcf6bd995e2.tar.gz
samba-b65be8874a2efe5a4b167448960a4fcf6bd995e2.tar.xz
samba-b65be8874a2efe5a4b167448960a4fcf6bd995e2.zip
r13571: Replace all calls to talloc_free() with thye TALLOC_FREE()
macro which sets the freed pointer to NULL.
Diffstat (limited to 'source/passdb/passdb.c')
-rw-r--r--source/passdb/passdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/passdb/passdb.c b/source/passdb/passdb.c
index a50afb6bb86..97cccbf2a52 100644
--- a/source/passdb/passdb.c
+++ b/source/passdb/passdb.c
@@ -484,7 +484,7 @@ NTSTATUS pdb_init_sam_new(SAM_ACCOUNT **new_sam_acct, const char *username)
pdb_free_sam(new_sam_acct);
}
- talloc_free(mem_ctx);
+ TALLOC_FREE(mem_ctx);
return result;
}