do not close the filehandle to the resize file of there was a problem getting it...
[rrdtool.git] / src / rrd_resize.c
index 8d8f532..629d99b 100644 (file)
@@ -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) {