From: xie xingguo Date: Thu, 16 Jun 2016 11:21:36 +0000 (+0800) Subject: mds/MDCache: fix leak of MMDSOpenInoReply X-Git-Tag: v11.0.0~45^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=37b7b09ee19ad64362c2faf63461353c03a36ada;p=ceph.git mds/MDCache: fix leak of MMDSOpenInoReply Signed-off-by: xie xingguo --- diff --git a/src/mds/MDCache.cc b/src/mds/MDCache.cc index dbda0c681935..16a3f840f298 100644 --- a/src/mds/MDCache.cc +++ b/src/mds/MDCache.cc @@ -8515,6 +8515,7 @@ void MDCache::handle_open_ino_reply(MMDSOpenInoReply *m) dout(10) << " found ino " << ino << " on mds." << from << dendl; if (!info.want_replica) { open_ino_finish(ino, info, from); + m->put(); return; }