diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-01-05 06:36:36 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-01-05 06:36:36 +0000 |
commit | 5e9f5591873fc5c5b5c8dbb0e29a080b8afe9966 (patch) | |
tree | 1760a4d063f1b5adf53761dce6ea93d028e45201 /source3/nmbd | |
parent | 1f438ffb7ea20673dcd9975528769a0321236a24 (diff) | |
download | samba-5e9f5591873fc5c5b5c8dbb0e29a080b8afe9966.tar.gz samba-5e9f5591873fc5c5b5c8dbb0e29a080b8afe9966.tar.bz2 samba-5e9f5591873fc5c5b5c8dbb0e29a080b8afe9966.zip |
implemented talloc() as described on samba-technical. This fixes the
lp_string() bug properly.
we still need to add lp_talloc_free() calls in all the main event
loops, I've only put it in smbd and nmbd thus far.
(This used to be commit aa7f81552540f5dca2c146f5edd805611d5b390f)
Diffstat (limited to 'source3/nmbd')
-rw-r--r-- | source3/nmbd/nmbd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index 751aede394..5bb3d7fc00 100644 --- a/source3/nmbd/nmbd.c +++ b/source3/nmbd/nmbd.c @@ -475,6 +475,9 @@ static void process(void) /* check for new network interfaces */ reload_interfaces(t); + + /* free up temp memory */ + lp_talloc_free(); } } /* process */ |