]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: do not put() unhandle message
authorSage Weil <sage@inktank.com>
Sun, 6 Oct 2013 22:12:57 +0000 (15:12 -0700)
committerSage Weil <sage@inktank.com>
Sun, 6 Oct 2013 22:17:50 +0000 (15:17 -0700)
commitf27964189419f590c5025c515986b1a3af5e2748
tree8871014ae2027cd0309bfd8da2523e113fc8b4eb
parent92a60a05841397aa0c59a1097e133eaca27ca532
mon: do not put() unhandle message

If we return false because we aren't handling a message, we should not put
the ref.  This fixes a double-free.

Signed-off-by: Sage Weil <sage@inktank.com>
src/mon/Monitor.cc