]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tools/cephfs: fix message leak
authorxie xingguo <xie.xingguo@zte.com.cn>
Sat, 4 Jun 2016 08:13:54 +0000 (16:13 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Mon, 6 Jun 2016 01:28:01 +0000 (09:28 +0800)
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/tools/cephfs/MDSUtility.cc

index eb61915ca5ee9ed1587c55f23872ec6c1c3f1aed..e51ffd5ca50b813ac1cc8071268679443e5c1030 100644 (file)
@@ -138,6 +138,7 @@ bool MDSUtility::ms_dispatch(Message *m)
    default:
      return false;
    }
+   m->put();
    return true;
 }