summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
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))