os/bluestore: fix potential memory leak #11893

Merged
merged 1 commit into from Nov 10, 2016

Projects

None yet

3 participants

@xiexingguo
Contributor

Call to extent_map.clear_and_dispose() will be noop after extent_map.clear()
hence causing memory leak.

Signed-off-by: xie xingguo xie.xingguo@zte.com.cn

@xiexingguo xiexingguo os/bluestore: fix potential memory leak
Call to extent_map.clear_and_dispose() will be noop after extent_map.clear()
hence causing memory leak.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
18219d1
@liewegas liewegas was assigned by xiexingguo Nov 10, 2016
@ifed01
ifed01 approved these changes Nov 10, 2016 View changes

LGTM

@liewegas liewegas merged commit 891fefb into ceph:master Nov 10, 2016

1 of 2 checks passed

default Build finished.
Details
Signed-off-by all commits in this PR are signed
Details
@xiexingguo xiexingguo deleted the xiexingguo:xxg-wip-bluestore-fix-clear branch Nov 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment