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 new column family metadata #129

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

ptrus
Copy link
Contributor

@ptrus ptrus commented Nov 8, 2023

The caller is responsible for releasing the returned memory of rocksdb_sst_file_metadata_get_{smallest,largestkey} calls.

Ref: https://github.com/facebook/rocksdb/blob/9af25a392b9565f2f66566b4df3b33c8b7bfaf29/include/rocksdb/c.h#L2437-L2457

The caller is responsible for releasing the returned memory of
`rocksdb_sst_file_metadata_get_{smallest,largestkey}` calls.
Copy link
Owner

@linxGnu linxGnu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for making a fix. It's great finding! Thank you

@linxGnu linxGnu merged commit 3e916a2 into linxGnu:master Nov 9, 2023
1 check failed
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.

None yet

2 participants