]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
client: fix a message leak 2477/head
authorJohn Spray <john.spray@redhat.com>
Fri, 12 Sep 2014 17:42:02 +0000 (18:42 +0100)
committerJohn Spray <john.spray@redhat.com>
Fri, 12 Sep 2014 23:14:36 +0000 (00:14 +0100)
Signed-off-by: John Spray <john.spray@redhat.com>
src/client/Client.cc

index a1e72e0663db5dfbe8d79703f22cfa303af4f710..667b700b004e61cb5959c8eb949aede54138a878 100644 (file)
@@ -1872,6 +1872,7 @@ void Client::handle_client_reply(MClientReply *reply)
       // have to return ESTALE
     } else {
       request->caller_cond->Signal();
+      reply->put();
       return;
     }
     ldout(cct, 20) << "have to return ESTALE" << dendl;