8000 Fix memory leak in read-disk-example.c by alex-pentagrid · Pull Request #1102 · libvmi/libvmi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix memory leak in read-disk-example.c #1102

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

Merged
merged 3 commits into from
Aug 6, 2024

Conversation

alex-pentagrid
Copy link
Contributor
@alex-pentagrid alex-pentagrid commented Aug 5, 2024

Memory leak fix on resource release.
Fix use of init variable.
Also move code to separate method for complexity decrease.

@tklengyel tklengyel merged commit bdb9ffb into libvmi:master Aug 6, 2024
22 checks passed
@alex-pentagrid alex-pentagrid deleted the read-disk-example-leak-fix branch August 7, 2024 06:22
adinamariav pushed a commit to adinamariav/libvmi-unikraft that referenced this pull request Aug 21, 2024
* Fix memory leak in read-disk-example.c

* Use of init variable in vmi methods

* Decrease code complexity

---------

Co-authored-by: Aleksandr Partanen <apartanen@ptsecurity.com>
skvl pushed a commit to skvl/libvmi that referenced this pull request Feb 28, 2025
* Fix memory leak in read-disk-example.c

* Use of init variable in vmi methods

* Decrease code complexity

---------

Co-authored-by: Aleksandr Partanen <apartanen@ptsecurity.com>
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.

2 participants
0