From: oes Date: Thu, 8 May 2003 15:17:25 +0000 (+0000) Subject: Closed two memory leaks; hopefully the last remaining ones X-Git-Tag: v_3_0_3~105 X-Git-Url: http://www.privoxy.org/gitweb/@user-manual@?a=commitdiff_plain;h=67cbb2d1bc6694a1cf879a4d8729bfb99ac4cd74;p=privoxy.git Closed two memory leaks; hopefully the last remaining ones (in the main execution paths, anyway). --- 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); }