More pstring removal. This one was tricky. I had to add
[abartlet/samba.git/.git] / source3 / nmbd / nmbd.c
index 6fadefe682aeaf5a191868d5e4bdcf24caac4fbd..beb178e59c3dd46c626e95b2c361bc7019ffae01 100644 (file)
@@ -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)