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

common/address_help.cc: fix the leak in entity_addr_from_url() #6987

Merged
merged 1 commit into from Dec 28, 2015
Merged

common/address_help.cc: fix the leak in entity_addr_from_url() #6987

merged 1 commit into from Dec 28, 2015

Conversation

qiankunzheng
Copy link

Fixes:#14132
Signed-off-by: Qiankun Zheng zheng.qiankun@h3c.com

@yuyuyu101
Copy link
Member

LGTM but keep commit message title within 80 chars will be better

@tchaikov tchaikov added tests and removed core labels Dec 22, 2015
@tchaikov
Copy link
Contributor

@qiankunzheng could you update the commit message to add an before the tracker ticket number, like:

Fixes: #14132

?
and agreed with @yuyuyu101 , could also make your title more concise, something like

common/address_help.cc: fix the leak in entity_addr_from_url()

would be better.

@qiankunzheng qiankunzheng changed the title common/address_help.cc: the freeaddrinfo() isn't called, leading to … common/address_help.cc: fix the leak in entity_addr_from_url() Dec 23, 2015
@qiankunzheng
Copy link
Author

@tchaikov
hi,i have modified this title. please review, thanks

@tchaikov
Copy link
Contributor

lgtm, would be ideal if jenkins can also nod on this. i grep'ed the repo, entity_addr_from_url() is not only used by {xio,simple}_{client,server}, which are not used by any of unit test or integration test.

Fixes: #14132
Signed-off-by: Qiankun Zheng <zheng.qiankun@h3c.com>
@qiankunzheng
Copy link
Author

@tchaikov
can you help me merge it into the master ? thanks

@tchaikov
Copy link
Contributor

@qiankunzheng sorry for the latency, the jenkins is disabled at this moment, merging it!

tchaikov added a commit that referenced this pull request Dec 28, 2015
common/address_help.cc: fix the leak in entity_addr_from_url()

Reviewed-by: Kefu Chai <kchai@redhat.com>
@tchaikov tchaikov merged commit 4dd0d1b into ceph:master Dec 28, 2015
@qiankunzheng qiankunzheng deleted the wip-addr-bugfix branch December 31, 2015 01:30
@ghost ghost added the common label Feb 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants