From: hno <> Date: Sun, 3 Sep 2006 11:30:40 +0000 (+0000) Subject: Correctly free HttpHeaderFieldInfo array X-Git-Tag: SQUID_3_0_PRE5~124 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f4c8dece111e72ed1a290105110d37e0833a984;p=thirdparty%2Fsquid.git Correctly free HttpHeaderFieldInfo array --- diff --git a/src/HttpHeaderTools.cc b/src/HttpHeaderTools.cc index d193783f0d..cb2512e1fc 100644 --- a/src/HttpHeaderTools.cc +++ b/src/HttpHeaderTools.cc @@ -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