]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Correctly free HttpHeaderFieldInfo array
authorhno <>
Sun, 3 Sep 2006 11:30:40 +0000 (11:30 +0000)
committerhno <>
Sun, 3 Sep 2006 11:30:40 +0000 (11:30 +0000)
src/HttpHeaderTools.cc

index d193783f0d5b8cee38b7316e7e426e1f3a62232c..cb2512e1fcff7652e3af31057de5448e1a1cdc67 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: HttpHeaderTools.cc,v 1.55 2006/05/06 22:13:18 wessels Exp $
+ * $Id: HttpHeaderTools.cc,v 1.56 2006/09/03 05:30:40 hno Exp $
  *
  * DEBUG: section 66    HTTP Header Tools
  * AUTHOR: Alex Rousskov
@@ -80,7 +80,7 @@ httpHeaderDestroyFieldsInfo(HttpHeaderFieldInfo * table, int count)
     for (i = 0; i < count; ++i)
         table[i].name.clean();
 
-    delete table;
+    delete [] table;
 }
 
 void