]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
FileStore: potential memory leak if _fgetattrs fails 6846/head
authorxiexingguo <258156334@qq.com>
Mon, 26 Oct 2015 10:38:01 +0000 (18:38 +0800)
committerAbhishek Varshney <abhishek.varshney@flipkart.com>
Tue, 8 Dec 2015 08:05:18 +0000 (13:35 +0530)
commit5d1e6ae408ee0d9e2972b3de9f81b6a95e86a0a3
tree0fa8bab6c7611378a495ee7f1ebfce10860c29cb
parent476af491ba03843e953dd257ad972f09c64dd816
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>
(cherry picked from commit ace7dd096b58a88e25ce16f011aed09269f2a2b4)
src/os/FileStore.cc