X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_last.c;h=42a807597de58d435a35948b1450fbc1a0d993aa;hp=99ff12517f83d142523c5ed86e8bc0f9d65c7d3f;hb=009ac7ac9dde1ba7c450b230b9118cff2cedc9f6;hpb=3b98cbd3871a5f445c56c14f73805a14ea31dd7a diff --git a/src/rrd_last.c b/src/rrd_last.c index 99ff125..42a8075 100644 --- a/src/rrd_last.c +++ b/src/rrd_last.c @@ -35,6 +35,7 @@ time_t rrd_last_r( lastup = rrd.live_head->last_up; rrd_free(&rrd); + close(rrd_file->fd); rrd_close(rrd_file); return (lastup); }