Skip to content
This repository has been archived by the owner on Oct 24, 2019. It is now read-only.

文件fd泄漏 #39

Open
AlexStocks opened this issue Nov 29, 2017 · 0 comments
Open

文件fd泄漏 #39

AlexStocks opened this issue Nov 29, 2017 · 0 comments

Comments

@AlexStocks
Copy link

int fd2 = open(szFullPath, O_RDWR|O_APPEND|O_CREAT, 0666);

这行代码的fd2,在退出其所在的语句块的时候没有被close掉。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant