]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
(Tres Seaver)Fix bug 975. Ths may cause memory leaks, though running 1000 requests...
authorrobertc <>
Sun, 3 Sep 2006 10:15:54 +0000 (10:15 +0000)
committerrobertc <>
Sun, 3 Sep 2006 10:15:54 +0000 (10:15 +0000)
src/ESIInclude.cc

index 380fc22c28e63e397251bb237bb24b4dbf4c12b9..a550df64284508b0cd4054e573ce4d1ae7b9e0f3 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: ESIInclude.cc,v 1.10 2006/09/01 22:19:35 robertc Exp $
+ * $Id: ESIInclude.cc,v 1.11 2006/09/03 04:15:54 robertc Exp $
  *
  * DEBUG: section 86    ESI processing
  * AUTHOR: Robert Collins
@@ -115,7 +115,13 @@ esiBufferRecipient (clientStreamNode *node, ClientHttpRequest *http, HttpReply *
 
 #endif
 
-            delete rep;
+            /* delete rep; 2006/09/02: TS, #975
+             * 
+             * This was causing double-deletes. Its possible that not deleting
+             * it here will cause memory leaks, but if so, this delete should
+             * not be reinstated or it will trigger bug #975 again - RBC
+             * 20060903
+             */
 
             rep = NULL;
         }