From: Joel Rosdahl Date: Sun, 13 Apr 2014 13:51:03 +0000 (+0200) Subject: Free counters struct in stats_flush X-Git-Tag: v3.2~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4084a75441e44611aa457cc47b2435c78b2d3fc7;p=thirdparty%2Fccache.git Free counters struct in stats_flush --- diff --git a/stats.c b/stats.c index e4cc2c1c4..5e17dcd7b 100644 --- a/stats.c +++ b/stats.c @@ -1,6 +1,6 @@ /* * Copyright (C) 2002-2004 Andrew Tridgell - * Copyright (C) 2009-2012 Joel Rosdahl + * Copyright (C) 2009-2012, 2014 Joel Rosdahl * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free @@ -261,6 +261,8 @@ stats_flush(void) cleanup_dir(conf, p); free(p); } + + counters_free(counters); } /* update a normal stat */