]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephfs: fix a memory leak 29302/head
authorXiao Guodong <xiaogd@inspur.com>
Thu, 25 Jul 2019 06:50:49 +0000 (14:50 +0800)
committerXiao Guodong <xiaogd@inspur.com>
Thu, 25 Jul 2019 09:41:02 +0000 (17:41 +0800)
commit648730c6028d54f6143d130d4882c66bf06453cd
treecc61e82612a3603d5eb3df77f55fab480f6a3a42
parenta29700e5e7b518d1fb3099dec464010cf57a4580
cephfs: fix a memory leak
use a smart pointer instead of using 'new' to resolve a memory leak .

Fixes: https://tracker.ceph.com/issues/40936
Signed-off-by: XiaoGuoDong2019 <xiaogd@inspur.com>
src/tools/cephfs/Resetter.cc