summaryrefslogtreecommitdiffstats
path: root/source/nmbd
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-01-05 06:36:36 +0000
committerAndrew Tridgell <tridge@samba.org>2000-01-05 06:36:36 +0000
commitaa7f81552540f5dca2c146f5edd805611d5b390f (patch)
tree18217f6d3596a3dea080e85e44bc2398ea59c5ad /source/nmbd
parent51ed6e8cec47642641e6b26682fd6f25624b19ae (diff)
downloadsamba-aa7f81552540f5dca2c146f5edd805611d5b390f.tar.gz
samba-aa7f81552540f5dca2c146f5edd805611d5b390f.tar.xz
samba-aa7f81552540f5dca2c146f5edd805611d5b390f.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.
Diffstat (limited to 'source/nmbd')
-rw-r--r--source/nmbd/nmbd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/nmbd/nmbd.c b/source/nmbd/nmbd.c
index 751aede3942..5bb3d7fc00d 100644
--- a/source/nmbd/nmbd.c
+++ b/source/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 */