replace configFreeMemory() which just calls free_all()
/*
- * $Id: cache_cf.cc,v 1.211 1997/07/16 20:55:42 wessels Exp $
+ * $Id: cache_cf.cc,v 1.212 1997/07/16 22:56:12 wessels Exp $
*
* DEBUG: section 3 Configuration File Parsing
* AUTHOR: Harvest Derived
int i;
for (i = 0; i < swap->n_configured; i++) {
s = swap->swapDirs + i;
+ if (s->swaplog_fd > -1) {
+ file_close(s->swaplog_fd);
+ s->swaplog_fd = -1;
+ }
xfree(s->path);
filemapFreeMemory(s->map);
}
debug(15, 0) ("WARNING: Unknown neighbor type: %s\n", s);
return PEER_SIBLING;
}
+
+void
+configFreeMemory(void)
+{
+ free_all();
+}