提交 1b4ad568 编写于 作者: Y Yu Kun

fix memory leak


Former-commit-id: e707938902534c1694002e0ff2499cf2e0b84d9e
上级 2bc69e48
......@@ -245,6 +245,7 @@ SystemInfo::CPUTemperature(){
float temp;
fscanf(file, "%f", &temp);
result.push_back(temp / 1000);
fclose(file);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册