Bug #13597
FileStore: potential memory leak if getattrs fails.
0%
Description
Memory leak happens if _fgetattrs encounters some error and simply returns.
Related issues
Associated revisions
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>
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)
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)
History
#1 Updated by Kefu Chai over 7 years ago
- Status changed from New to Pending Backport
- Backport set to hammer
#2 Updated by Nathan Cutler over 7 years ago
- Copied to Backport #13637: FileStore: potential memory leak if getattrs fails. added
#3 Updated by Nathan Cutler over 7 years ago
- Backport changed from hammer to hammer,infernalis
master PR: https://github.com/ceph/ceph/pull/6377
#4 Updated by Nathan Cutler over 7 years ago
- Copied to Backport #13638: FileStore: potential memory leak if getattrs fails. added
#5 Updated by Loïc Dachary almost 7 years ago
- Status changed from Pending Backport to Resolved