Removed lp_killunused() call from server main loop. This
authorSamba Release Account <samba-bugs@samba.org>
Tue, 22 Jul 1997 18:35:44 +0000 (18:35 +0000)
committerSamba Release Account <samba-bugs@samba.org>
Tue, 22 Jul 1997 18:35:44 +0000 (18:35 +0000)
WAS A MAJOR BUG THAT CAN CAUSE IPC$ to be removed !!!!!
Not sure how this one got introduced (but I have my
suspicions :-). lp_killunused() MUST ONLY BE CALLED from
reload_services().
Jeremy (jallison@whistle.com)
(This used to be commit 937f0fbf87c4b66a947215ee13a69d1e19e4ff77)

source3/smbd/server.c

index 5f5404bcc27e77076350aa00e14c7d07aacef558..3c5cd6bea798ccc9e5d20cfd413fd352ff32453e 100644 (file)
@@ -3948,9 +3948,6 @@ static void process(void)
       {
         service_load_counter = counter;
 
-        /* remove all unused services.  reduce some of that memory overhead. */
-        lp_killunused(snum_used);
-
         /* reload services, if files have changed. */
            reload_services(True);
       }