]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Cleanup cleanup: Reconfigure crashes after r13895.
authorAlex Rousskov <rousskov@measurement-factory.com>
Wed, 21 Sep 2016 00:49:41 +0000 (18:49 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Wed, 21 Sep 2016 00:49:41 +0000 (18:49 -0600)
Reconfiguring crashes Squids that use tcp_outgoing_tos,
tcp_outgoing_dscp, tcp_outgoing_ds, clientside_tos, tcp_outgoing_mark,
or clientside_mark configuration directive.

src/cache_cf.cc

index 7c094473e4270bc1e000ba1439f636085cc4229c..50e453366daceb29f1cccaf2182f43b52fbd509c 100644 (file)
@@ -1487,7 +1487,7 @@ static void
 free_acl_tos(acl_tos ** head)
 {
     delete *head;
-    head = NULL;
+    *head = NULL;
 }
 
 #if SO_MARK && USE_LIBCAP
@@ -1540,7 +1540,7 @@ static void
 free_acl_nfmark(acl_nfmark ** head)
 {
     delete *head;
-    head = NULL;
+    *head = NULL;
 }
 #endif /* SO_MARK */