summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-02-18 11:39:36 +0000
committerAndrew Tridgell <tridge@samba.org>2002-02-18 11:39:36 +0000
commitab02132b6c50d600f1ddcf415d77f343500f0deb (patch)
treee6b7b4b293963ff322ff986bd1c32910e4f5669c
parentc2729d59a631822c7e5545d13a2eff8ed237401b (diff)
downloadsamba-ab02132b6c50d600f1ddcf415d77f343500f0deb.tar.gz
samba-ab02132b6c50d600f1ddcf415d77f343500f0deb.tar.bz2
samba-ab02132b6c50d600f1ddcf415d77f343500f0deb.zip
fixed a memory leak thanks to dleducq@arkoon.net
(This used to be commit e84c7400175c86c4c79922182115ea1f0948186c)
-rw-r--r--source3/nsswitch/winbindd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd.c b/source3/nsswitch/winbindd.c
index 02bd3dd877..a9abcd3e6e 100644
--- a/source3/nsswitch/winbindd.c
+++ b/source3/nsswitch/winbindd.c
@@ -509,6 +509,7 @@ static void process_loop(int accept_sock)
/* Free up temporary memory */
lp_talloc_free();
+ main_loop_talloc_free();
/* Initialise fd lists for select() */