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/smbd/process.c | |
parent | 1f438ffb7ea20673dcd9975528769a0321236a24 (diff) | |
download | samba-5e9f5591873fc5c5b5c8dbb0e29a080b8afe9966.tar.gz samba-5e9f5591873fc5c5b5c8dbb0e29a080b8afe9966.tar.xz 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/process.c')
-rw-r--r-- | source3/smbd/process.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c index 36eb8823406..04432adb969 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)) |