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

rgw: fix potential memory leaks and remove unnecessary assignment #9979

Merged
merged 2 commits into from Jun 30, 2016

Conversation

Yan-waller
Copy link
Contributor

@Yan-waller Yan-waller commented Jun 28, 2016

We should free data before return or jump to done_err label to do so.

Signed-off-by: Yan Jun yan.jun8@zte.com.cn

We should free `data` before return or jump to `done_err` label.

Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
@Yan-waller Yan-waller changed the title rgw: fix potential memory leaks. rgw: fix potential memory leaks and remove unnecessary assignment Jun 28, 2016
@mattbenjamin mattbenjamin self-assigned this Jun 29, 2016
@mattbenjamin mattbenjamin merged commit 16306bf into ceph:master Jun 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants