From: oetiker Date: Fri, 28 Jan 2005 14:02:17 +0000 (+0000) Subject: fix for memory leak. Rene Gallati X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=e44c4e2927897b0125873cdf198df7c19aabf79f;p=rrdtool.git fix for memory leak. Rene Gallati git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@296 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_hw.c b/src/rrd_hw.c index 362dfc5..d6d1935 100644 --- a/src/rrd_hw.c +++ b/src/rrd_hw.c @@ -668,6 +668,7 @@ apply_smoother(rrd_t *rrd, unsigned long rra_idx, unsigned long rra_start, fflush(rrd_file); free(rrd_values); + free(baseline); return 0; }