]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fixed problem with free()'ing config_file
authorwessels <>
Wed, 17 Apr 1996 04:52:03 +0000 (04:52 +0000)
committerwessels <>
Wed, 17 Apr 1996 04:52:03 +0000 (04:52 +0000)
ChangeLog
src/cache_cf.cc

index 89c6d25a7264e82033bc0bf78403ff932063d394..4f276592a26005d71f2a9e61acda40b6a22716c8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -76,3 +76,6 @@
        - Removed check for "\r\n" in icpRead, use 'immed' flag instead
        - Invented request_t struct and urlParse to avoid sscanf'ing
          the URL string too often.
+
+alpha19
+       - Fixed problem with free()'ing config_file.
index 3686193d2ddf8d036626ef717bb680468caed9f8..2b089908f70e81c67eda2a63dd4807d0b27cd6c4 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: cache_cf.cc,v 1.49 1996/04/16 20:53:33 wessels Exp $ */
+/* $Id: cache_cf.cc,v 1.50 1996/04/16 22:52:04 wessels Exp $ */
 
 /* DEBUG: Section 3             cache_cf: Configuration file parsing */
 
@@ -175,7 +175,7 @@ time_t neighbor_timeout = DefaultNeighborTimeout;   /* for fast access */
 int single_parent_bypass = 0;
 int DnsPositiveTtl = DefaultPositiveDnsTtl;
 char *DefaultSwapDir = DEFAULT_SWAP_DIR;
-char *config_file = DEFAULT_CONFIG_FILE;
+char *config_file = xstrdup(DEFAULT_CONFIG_FILE);
 char *cfg_filename = NULL;     /* just the last part */
 
 char w_space[] = " \t\n";