]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
FileStore: potential memory leak if _fgetattrs fails 6377/head
authorxiexingguo <258156334@qq.com>
Mon, 26 Oct 2015 10:38:01 +0000 (18:38 +0800)
committerxiexingguo <258156334@qq.com>
Mon, 26 Oct 2015 23:29:35 +0000 (07:29 +0800)
commitace7dd096b58a88e25ce16f011aed09269f2a2b4
tree39a8e2e91e6aa7617020a9a00b57d00036a213b5
parent3868939fbd42f2525eda7fedba7e66ceaf434d63
FileStore: potential memory leak if _fgetattrs fails

Memory leak happens if _fgetattrs encounters some error and simply returns.
Fixes: #13597
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/os/FileStore.cc