index 2fc65263a5d3e93564b64abfb171da7650bbef36..a405a29fa728493f5617243bd77aa508f76ce053 100644 (file)
--- a/program/src/rrd_graph.c
+++ b/program/src/rrd_graph.c
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<steps;step++)
printf("DEBUG: %3li:%10.2f %c\n",step,array[step],step==field?'*':' ');