From 647274667bdbf0ae4d54d462831f1b865755708a Mon Sep 17 00:00:00 2001 From: oes Date: Fri, 28 Feb 2003 12:52:10 +0000 Subject: [PATCH] Fixed memory leak reported by Dan Price in Bug #694713 --- actions.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/actions.c b/actions.c index 8fe59140..98a335f0 100644 --- a/actions.c +++ b/actions.c @@ -1,4 +1,4 @@ -const char actions_rcs[] = "$Id: actions.c,v 1.32.2.1 2002/05/26 12:13:16 roro Exp $"; +const char actions_rcs[] = "$Id: actions.c,v 1.32.2.2 2002/11/20 14:36:55 oes Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/Attic/actions.c,v $ @@ -33,6 +33,10 @@ const char actions_rcs[] = "$Id: actions.c,v 1.32.2.1 2002/05/26 12:13:16 roro E * * Revisions : * $Log: actions.c,v $ + * Revision 1.32.2.2 2002/11/20 14:36:55 oes + * Extended unload_current_actions_file() to multiple AFs. + * Thanks to Oliver Stoeneberg for the hint. + * * Revision 1.32.2.1 2002/05/26 12:13:16 roro * Change unsigned to unsigned long in actions_name struct. This closes * SourceForge Bug #539284. @@ -1369,6 +1373,7 @@ static int load_one_actions_file(struct client_state *csp, int fileid) fclose(fp); free_action(cur_action); + freez(cur_action); free_alias_list(alias_list); -- 2.49.0