X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_lastupdate.c;h=79274b55c929c727e27cd5d381b507498618fcd9;hp=47ecec75be57f50e01016d738c7e0c00069955fe;hb=009ac7ac9dde1ba7c450b230b9118cff2cedc9f6;hpb=3b98cbd3871a5f445c56c14f73805a14ea31dd7a diff --git a/src/rrd_lastupdate.c b/src/rrd_lastupdate.c index 47ecec7..79274b5 100644 --- a/src/rrd_lastupdate.c +++ b/src/rrd_lastupdate.c @@ -54,6 +54,7 @@ int rrd_lastupdate( } rrd_free(&rrd); + close(rrd_file->fd); rrd_close(rrd_file); return (0); }