]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: Elector: put dangling message reference
authorJoao Eduardo Luis <joao@redhat.com>
Thu, 4 Dec 2014 18:07:23 +0000 (18:07 +0000)
committerJoao Eduardo Luis <joao@redhat.com>
Fri, 16 Jan 2015 16:34:21 +0000 (16:34 +0000)
Backport: emperor,firefly,giant

Signed-off-by: Joao Eduardo Luis <joao@redhat.com>
src/mon/Elector.cc

index 1ea2179a76055511a066aed1b9bea49a071c0bbc..bac3fb03941f4250f56718c88e2fd95c057cfed9 100644 (file)
@@ -283,6 +283,7 @@ void Elector::handle_ack(MMonElection *m)
       required_features) {
     dout(5) << " ignoring ack from mon" << from
            << " without required features" << dendl;
+    m->put();
     return;
   }