From: oetiker Date: Mon, 2 Sep 2002 18:41:19 +0000 (+0000) Subject: fixed leak in VDEF_PERCENT handlin -- Perry Stoll X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=32bff69819374d9875577fe106dee60af473637b;p=rrdtool.git fixed leak in VDEF_PERCENT handlin -- Perry Stoll git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@162 a5681a0c-68f1-0310-ab6d-d61299d08faa --- 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