Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory Leak created on return without closing nvdev #600

Open
stanman29 opened this issue Jan 22, 2023 · 0 comments
Open

Memory Leak created on return without closing nvdev #600

stanman29 opened this issue Jan 22, 2023 · 0 comments

Comments

@stanman29
Copy link
Contributor

stanman29 commented Jan 22, 2023

In the if-statement this return error no. is returned without closing "nvdev". Yet in the next if-statement "nvdev" is closed! This must cause a memory leak if the first path is followed? Because even if "ver" value is not null it still needs to close "nvdev" to return to the orginal state before this function started!

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

No branches or pull requests

1 participant