]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/MonClient: fix leak of MMonGetVersionReply
authorSage Weil <sage@inktank.com>
Fri, 31 May 2013 05:04:48 +0000 (22:04 -0700)
committerSage Weil <sage@inktank.com>
Fri, 31 May 2013 21:48:32 +0000 (14:48 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
src/mon/MonClient.cc

index c655515ea53ef551b17823c62309cc79d84c71d7..d6a98f41c266a578395a352723ad7d13b7391a93 100644 (file)
@@ -740,4 +740,5 @@ void MonClient::handle_get_version_reply(MMonGetVersionReply* m)
     finisher.queue(req->context, 0);
     delete req;
   }
+  m->put();
 }