diff options
author | Sage Weil <sage@inktank.com> | 2013-06-10 11:51:37 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-06-13 10:52:17 -0700 |
commit | b56c96548868b3de54f56ecee6b8a984aeb480e2 (patch) | |
tree | 6995977eb8914840ff2412470b39944a4181851c | |
parent | d172c3329c393b2b04b45e3af2306f1664a6109e (diff) | |
download | ceph-b56c96548868b3de54f56ecee6b8a984aeb480e2.tar.gz |
osd: do not leak MOSDPings on shutdown
Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r-- | src/osd/OSD.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index 521e7f69b0b..fb4638550ca 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -2694,6 +2694,7 @@ void OSD::handle_osd_ping(MOSDPing *m) heartbeat_lock.Lock(); if (is_stopping()) { heartbeat_lock.Unlock(); + m->put(); return; } |