X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_first.c;h=abba426f21ecf60ce86c2f27b3cd839605d0986b;hp=bb869471574d3f657fbb5c335227885c9ca1e403;hb=dd86fdf1b4d99437b9aa19934e02230c090cc1d5;hpb=7f30ee2ae089520606cbb7e38fab9981618771f5 diff --git a/src/rrd_first.c b/src/rrd_first.c index bb86947..abba426 100644 --- a/src/rrd_first.c +++ b/src/rrd_first.c @@ -88,9 +88,9 @@ time_t rrd_first_r( rrd.live_head->last_up % (rrd.rra_def[rraindex].pdp_cnt * rrd.stat_head->pdp_step)) + (timer * rrd.rra_def[rraindex].pdp_cnt * rrd.stat_head->pdp_step); -err_close: + err_close: rrd_close(rrd_file); -err_free: + err_free: rrd_free(&rrd); return (then); }