Skip to content

Stop leaking open file descriptors#152

Open
dimka-rs wants to merge 1 commit intoNXPNFCLinux:NCI2.0_PN7160from
dimka-rs:NCI2.0_PN7160
Open

Stop leaking open file descriptors#152
dimka-rs wants to merge 1 commit intoNXPNFCLinux:NCI2.0_PN7160from
dimka-rs:NCI2.0_PN7160

Conversation

@dimka-rs
Copy link

Function ReadFileToString does not close opened file and leaks open fds. After about 1k opened files libnfc-nci crashes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant