]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3013: segmentation fault on shutdown commSetCloseOnExec at comm.cc:1889
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Mon, 4 Jun 2012 11:10:49 +0000 (05:10 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 4 Jun 2012 11:10:49 +0000 (05:10 -0600)
src/main.cc

index f685fae5ec55c63b5eca202aca8365fb4e7bb554..d6eb01aa87c7f95c17129cefef6f6ba6b5cc07bc 100644 (file)
@@ -1906,6 +1906,9 @@ SquidShutdown()
     }
 
 #endif
+    // clear StoreController
+    Store::Root(NULL);
+
     fdDumpOpen();
 
     comm_exit();