--- projects/libstatgrab/src/libstatgrab/cpu_stats.c 2003/03/03 15:26:23 1.7 +++ projects/libstatgrab/src/libstatgrab/cpu_stats.c 2003/03/31 11:30:54 1.8 @@ -88,6 +88,7 @@ cpu_states_t *get_cpu_totals(){ &cpu_now.nice, \ &cpu_now.kernel, \ &cpu_now.idle)) != 4){ + fclose(f); return NULL; }