summaryrefslogtreecommitdiffstats
path: root/source/nsswitch/winbindd_util.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-10-19 08:22:52 +0000
committerTim Potter <tpot@samba.org>2001-10-19 08:22:52 +0000
commitd52cd1854fdff18c223d6dd1eca0e26f1f0bf01b (patch)
tree092f4547c1d7e9f174b28be775bfde1b189afa32 /source/nsswitch/winbindd_util.c
parent46fe5a8fb96974e1323bc3e5d94fda74edbeb852 (diff)
downloadsamba-d52cd1854fdff18c223d6dd1eca0e26f1f0bf01b.tar.gz
samba-d52cd1854fdff18c223d6dd1eca0e26f1f0bf01b.tar.xz
samba-d52cd1854fdff18c223d6dd1eca0e26f1f0bf01b.zip
Fixed some memory leaks introduced by connection handling rewrite, as well
as one memory leak that has been there for ages! Changed the way talloc is used in get{pw,gr}nam routines.
Diffstat (limited to 'source/nsswitch/winbindd_util.c')
-rw-r--r--source/nsswitch/winbindd_util.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/nsswitch/winbindd_util.c b/source/nsswitch/winbindd_util.c
index 0e0493e57f8..cf0e6b8e934 100644
--- a/source/nsswitch/winbindd_util.c
+++ b/source/nsswitch/winbindd_util.c
@@ -470,8 +470,6 @@ void free_getent_state(struct getent_state *state)
DLIST_REMOVE(state, state);
next = temp->next;
- talloc_destroy(temp->mem_ctx);
-
SAFE_FREE(temp);
temp = next;
}