From: oetiker Date: Thu, 6 Jan 2011 15:00:34 +0000 (+0000) Subject: do not close the filehandle to the resize file of there was a problem getting it... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8c427c930a8108a18f86743d924de3d65d57505b;p=rrdtool-all.git 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/branches/1.3@2166 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd_resize.c b/program/src/rrd_resize.c index 1ddd0627..8e9ab01f 100644 --- a/program/src/rrd_resize.c +++ b/program/src/rrd_resize.c @@ -104,7 +104,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) {