diff options
Diffstat (limited to 'source3/nmbd/nmbd.c')
-rw-r--r-- | source3/nmbd/nmbd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index 6fadefe682..beb178e59c 100644 --- a/source3/nmbd/nmbd.c +++ b/source3/nmbd/nmbd.c @@ -733,6 +733,7 @@ static bool open_sockets(bool isdaemon, int port) POPT_COMMON_SAMBA { NULL } }; + TALLOC_CTX *frame = talloc_stackframe(); /* Setup tos. */ load_case_tables(); @@ -927,6 +928,7 @@ static bool open_sockets(bool isdaemon, int port) /* We can only take signals in the select. */ BlockSignals( True, SIGTERM ); + TALLOC_FREE(frame); process(); if (dbf) |