Merge branch '0217-1' into 'yhkylin/v101'

fopen释放问题

See merge request kylinos-src/kylin-nm!113
This commit is contained in:
赵世旭 2023-03-10 06:45:02 +00:00
commit a9f4a86891
1 changed files with 3 additions and 0 deletions

View File

@ -226,6 +226,9 @@ int TabPage::getCurrentLoadRate(QString dev, long *save_rate, long *tx_rate)
}
}
fclose(net_dev_file);
net_dev_file = nullptr;
return 0; //返回成功
}