> -----Original Message----- > From: Burakov, Anatoly <anatoly.burakov at intel.com> > base_max_ratio = > strtoul(buf_base, NULL, > POWER_CONVERT_TO_DECIMAL) > / BUS_FREQ; > + /* not needed any more */ > + fclose(f_base_max); > + f_base_max = NULL; Should this be moved before FOPS_OR_NULL_GOTO() call ?