diff options
author | Tim Potter <tpot@samba.org> | 2001-10-19 08:22:52 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-10-19 08:22:52 +0000 |
commit | e3e9c52b7a5d653d1a6ec4a741c8335829fd6a87 (patch) | |
tree | 974fc8621239e8175853e8c463c3ea7b5070939e /source3/nsswitch/winbindd_util.c | |
parent | 52995a5f7d48d41b07ee9fab20903a685c0dd33b (diff) | |
download | samba-e3e9c52b7a5d653d1a6ec4a741c8335829fd6a87.tar.gz samba-e3e9c52b7a5d653d1a6ec4a741c8335829fd6a87.tar.bz2 samba-e3e9c52b7a5d653d1a6ec4a741c8335829fd6a87.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.
(This used to be commit d52cd1854fdff18c223d6dd1eca0e26f1f0bf01b)
Diffstat (limited to 'source3/nsswitch/winbindd_util.c')
-rw-r--r-- | source3/nsswitch/winbindd_util.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd_util.c b/source3/nsswitch/winbindd_util.c index 0e0493e57f..cf0e6b8e93 100644 --- a/source3/nsswitch/winbindd_util.c +++ b/source3/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; } |