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

fix: memory leak in Python bytes object retrieval #18

Merged
merged 2 commits into from
Oct 9, 2023

Conversation

P403n1x87
Copy link
Owner

Fixed a memory leak when retrieving byte arrays (line number tables) that were never deallocated after use. We move to automatic memory management with smart pointers to allow for the clean up to happen.

@P403n1x87 P403n1x87 self-assigned this Oct 8, 2023
@P403n1x87 P403n1x87 force-pushed the fix/pybytes-memleak branch 2 times, most recently from 9ec8daf to 1be260f Compare October 9, 2023 10:10
@P403n1x87 P403n1x87 marked this pull request as ready for review October 9, 2023 12:45
@P403n1x87 P403n1x87 force-pushed the fix/pybytes-memleak branch from 1be260f to 566ddb8 Compare October 9, 2023 13:56
Fixed a memory leak when retrieving byte arrays (line number tables)
that were never deallocated after use. We move to automatic memory
management with smart pointers to allow for the clean up to happen.
@P403n1x87 P403n1x87 force-pushed the fix/pybytes-memleak branch from 566ddb8 to 38bd58a Compare October 9, 2023 14:14
@P403n1x87 P403n1x87 merged commit c353e1e into main Oct 9, 2023
12 of 15 checks passed
@P403n1x87 P403n1x87 deleted the fix/pybytes-memleak branch October 9, 2023 14:20
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