summaryrefslogtreecommitdiff
path: root/source3/smbd
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
commit5e9f5591873fc5c5b5c8dbb0e29a080b8afe9966 (patch)
tree1760a4d063f1b5adf53761dce6ea93d028e45201 /source3/smbd
parent1f438ffb7ea20673dcd9975528769a0321236a24 (diff)
downloadsamba-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/smbd')
-rw-r--r--source3/smbd/process.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 36eb882340..04432adb96 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -1018,6 +1018,9 @@ void smbd_process(void)
errno = 0;
+ /* free up temporary memory */
+ lp_talloc_free();
+
while(!receive_message_or_smb(InBuffer,BUFFER_SIZE,select_timeout,&got_smb))
{
if(!timeout_processing( deadtime, &select_timeout, &last_timeout_processing_time))