OCT 1. 修正一处popen文件句柄泄漏问题
This commit is contained in:
parent
8cb42fd06f
commit
b3a5ae0c6f
|
@ -90,6 +90,8 @@ static int memory_info_refresh() {
|
||||||
sdsfree(tmpStr);
|
sdsfree(tmpStr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pclose(fp);
|
||||||
|
|
||||||
return errCode;
|
return errCode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue