From 32bff69819374d9875577fe106dee60af473637b Mon Sep 17 00:00:00 2001 From: oetiker Date: Mon, 2 Sep 2002 18:41:19 +0000 Subject: [PATCH] fixed leak in VDEF_PERCENT handlin -- Perry Stoll git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@162 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/rrd_graph.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rrd_graph.c b/src/rrd_graph.c index 2fc6526..a405a29 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -3204,6 +3204,7 @@ printf("DEBUG: start == %lu, end == %lu, %lu steps\n" field = (steps-1)*dst->vf.param/100; dst->vf.val = array[field]; dst->vf.when = 0; /* no time component */ + free(array); #if 0 for(step=0;step