From: wessels <> Date: Wed, 10 Apr 1996 11:06:13 +0000 (+0000) Subject: fix freeing static memory X-Git-Tag: SQUID_3_0_PRE1~6236 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=524b8ea5dd8c5f36614761d293ec3cae66f17b0f;p=thirdparty%2Fsquid.git fix freeing static memory --- diff --git a/src/ipcache.cc b/src/ipcache.cc index 85ae2e08f1..93dd45723e 100644 --- a/src/ipcache.cc +++ b/src/ipcache.cc @@ -1,4 +1,4 @@ -/* $Id: ipcache.cc,v 1.16 1996/04/08 17:08:01 wessels Exp $ */ +/* $Id: ipcache.cc,v 1.17 1996/04/10 05:06:13 wessels Exp $ */ /* * DEBUG: Section 14 ipcache: IP Cache @@ -1357,7 +1357,7 @@ void ipcacheShutdownServers() debug(14, 1, "ipcacheShutdownServers: sending '$shutdown' to dnsserver #%d\n", i); debug(14, 1, "ipcacheShutdownServers: --> FD %d\n", dns->outpipe); file_write(dns->outpipe, - shutdown, + xstrdup(shutdown), strlen(shutdown), 0, /* Lock */ 0, /* Handler */