If Squid is configured as a httpd accelerator, then it leaks
Config2.Accel.prefix at every reconfigure/log rotation.
Reported by Rady Greab
/*
- * $Id: cache_cf.cc,v 1.381 2001/05/08 15:24:35 hno Exp $
+ * $Id: cache_cf.cc,v 1.382 2001/05/27 23:33:31 hno Exp $
*
* DEBUG: section 3 Configuration File Parsing
* AUTHOR: Harvest Derived
char *token = NULL;
char *tmp_line;
int err_count = 0;
- free_all();
+ configFreeMemory();
default_all();
if ((fp = fopen(file_name, "r")) == NULL)
fatalf("Unable to open configuration file: %s: %s",
void
configFreeMemory(void)
{
+ safe_free(Config2.Accel.prefix);
free_all();
}