]> 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>
Tue, 5 Jun 2012 09:10:03 +0000 (03:10 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 5 Jun 2012 09:10:03 +0000 (03:10 -0600)
src/main.cc

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