From 81375e626663d1d7048054f01beb4c5925fdaeb8 Mon Sep 17 00:00:00 2001 From: oetiker Date: Thu, 6 Jan 2011 15:00:34 +0000 Subject: [PATCH] do not close the filehandle to the resize file of there was a problem getting it in the first place. git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@2166 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/src/rrd_resize.c | 1 - 1 file changed, 1 deletion(-) diff --git a/program/src/rrd_resize.c b/program/src/rrd_resize.c index 8d8f532d..629d99b9 100644 --- a/program/src/rrd_resize.c +++ b/program/src/rrd_resize.c @@ -118,7 +118,6 @@ int rrd_resize( rrd_free(&rrdnew); rrd_free(&rrdold); rrd_close(rrd_file); - rrd_close(rrd_out_file); return (-1); } if (rrd_lock(rrd_out_file) != 0) { -- 2.30.2