fix memory leak

Former-commit-id: 397a13f633b1b120c516db97ed46e5c8836db1ce
This commit is contained in:
Yu Kun 2019-09-18 15:34:47 +08:00
parent dfd9ab16f6
commit e852816176

View File

@ -245,6 +245,7 @@ SystemInfo::CPUTemperature(){
float temp;
fscanf(file, "%f", &temp);
result.push_back(temp / 1000);
fclose(file);
}
}