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

librados: Memory leaks in object_list_begin and object_list_end #12482

Merged
merged 1 commit into from Dec 15, 2016

Conversation

badone
Copy link
Contributor

@badone badone commented Dec 14, 2016

We allocate a cursor in the constructor but simply reassign it in these
functions without cleaning up the original. We have a utility setter that
handles this exact case so we should use it.

Fixes: http://tracker.ceph.com/issues/18252

Signed-off-by: Brad Hubbard bhubbard@redhat.com

We allocate a cursor in the constructor but simply reassign it in these
functions without cleaning up the original. We have a utility setter that
handles this exact case so we should use it.

Fixes: http://tracker.ceph.com/issues/18252

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
Copy link
Member

@liewegas liewegas left a comment

Choose a reason for hiding this comment

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

lgtm!

@liewegas liewegas added this to the kraken milestone Dec 14, 2016
@liewegas liewegas merged commit b473f23 into ceph:master Dec 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants