summaryrefslogtreecommitdiff
path: root/source4/lib/samba3/group.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-06-26 11:29:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:09:31 -0500
commit9bd4cfad47b8b2e1e60a49478c92cf8490802a18 (patch)
treef68fbea84e24a6af69f3b4084e0b938be80cfd25 /source4/lib/samba3/group.c
parent4bd40183afd6d423ccbe5f43dac83bd299f86c50 (diff)
downloadsamba-9bd4cfad47b8b2e1e60a49478c92cf8490802a18.tar.gz
samba-9bd4cfad47b8b2e1e60a49478c92cf8490802a18.tar.bz2
samba-9bd4cfad47b8b2e1e60a49478c92cf8490802a18.zip
r16517: Get rid of pointless safe_free() (not SAFE_FREE()!) function.
(This used to be commit 6bc91497827a66af6d9adf26c689e9cc458d8ecf)
Diffstat (limited to 'source4/lib/samba3/group.c')
-rw-r--r--source4/lib/samba3/group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/samba3/group.c b/source4/lib/samba3/group.c
index 0860c36e1f..fcf015de68 100644
--- a/source4/lib/samba3/group.c
+++ b/source4/lib/samba3/group.c
@@ -72,7 +72,7 @@ NTSTATUS samba3_read_grouptdb(const char *file, TALLOC_CTX *ctx, struct samba3_g
for (kbuf = tdb_firstkey(tdb);
kbuf.dptr;
- newkey = tdb_nextkey(tdb, kbuf), safe_free(kbuf.dptr), kbuf=newkey) {
+ newkey = tdb_nextkey(tdb, kbuf), free(kbuf.dptr), kbuf=newkey) {
struct samba3_groupmapping map;
const char *k = (const char *)kbuf.dptr;