From: oetiker Date: Fri, 28 Jan 2005 14:02:17 +0000 (+0000) Subject: fix for memory leak. Rene Gallati X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1ce6d166b3227daff42ae9ef855c23c26ef6530a;p=rrdtool-all.git fix for memory leak. Rene Gallati git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@296 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd_hw.c b/program/src/rrd_hw.c index 362dfc5c..d6d1935f 100644 --- a/program/src/rrd_hw.c +++ b/program/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; }