From 67cbb2d1bc6694a1cf879a4d8729bfb99ac4cd74 Mon Sep 17 00:00:00 2001 From: oes Date: Thu, 8 May 2003 15:17:25 +0000 Subject: [PATCH] Closed two memory leaks; hopefully the last remaining ones (in the main execution paths, anyway). --- loadcfg.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/loadcfg.c b/loadcfg.c index 854a391a..831e976d 100644 --- a/loadcfg.c +++ b/loadcfg.c @@ -1,4 +1,4 @@ -const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.48.2.3 2003/03/11 11:53:59 oes Exp $"; +const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.48.2.4 2003/04/11 12:06:14 oes Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/Attic/loadcfg.c,v $ @@ -35,6 +35,11 @@ const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.48.2.3 2003/03/11 11:53:59 oes Ex * * Revisions : * $Log: loadcfg.c,v $ + * Revision 1.48.2.4 2003/04/11 12:06:14 oes + * Addressed bug #719435 + * - Extraneous filterfile directives now logged as errors + * - This and unrecnonised directives now really obvious on status page + * * Revision 1.48.2.3 2003/03/11 11:53:59 oes * Cosmetic: Renamed cryptic variable * @@ -516,8 +521,13 @@ void unload_configfile (void * data) freez(config->jarfile); #endif /* def FEATURE_COOKIE_JAR */ - freez(config->re_filterfile); +#ifdef FEATURE_TRUST + freez(config->trustfile); + list_remove_all(config->trust_info); +#endif /* def FEATURE_TRUST */ + freez(config->re_filterfile); + freez(config); } -- 2.50.1