From 8385de7fa201ce05b35dd2d846e042e5b581a02a Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Tue, 4 Dec 2007 19:44:22 +0000 Subject: [PATCH] Unbreak trustfile which previously didn't work without FEATURE_TOGGLE. Fixes BR#1843585, reported by Lee. --- jcc.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/jcc.c b/jcc.c index ab4b83cc..e4ca6c42 100644 --- a/jcc.c +++ b/jcc.c @@ -1,4 +1,4 @@ -const char jcc_rcs[] = "$Id: jcc.c,v 1.159 2007/11/24 14:34:09 fabiankeil Exp $"; +const char jcc_rcs[] = "$Id: jcc.c,v 1.160 2007/11/29 18:00:29 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jcc.c,v $ @@ -33,6 +33,10 @@ const char jcc_rcs[] = "$Id: jcc.c,v 1.159 2007/11/24 14:34:09 fabiankeil Exp $" * * Revisions : * $Log: jcc.c,v $ + * Revision 1.160 2007/11/29 18:00:29 fabiankeil + * Plug memory leak. Spotted by Valgrind, triggered by + * Privoxy-Regression-Test feeding proxyfuzz.py. + * * Revision 1.159 2007/11/24 14:34:09 fabiankeil * In the HTTP snipplets, refer to the client as client. * @@ -3570,10 +3574,10 @@ static void listen_loop(void) #ifdef FEATURE_TOGGLE if (global_toggle_state) +#endif /* def FEATURE_TOGGLE */ { csp->flags |= CSP_FLAG_TOGGLED_ON; } -#endif /* def FEATURE_TOGGLE */ if (run_loader(csp)) { -- 2.39.2