From 8a41ef1c58f5dfa4a3e87169057886ceb2ce108a Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Mon, 14 Dec 2020 13:11:11 -0800 Subject: [PATCH] osd: remove invalid put on message This has already been converted to use smart pointers. This put the method return to double-put the MessageRef argument. Fixes: https://tracker.ceph.com/issues/48600 Signed-off-by: Patrick Donnelly --- src/osd/PG.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 9b66cb7cd4c6..30604fe3f99a 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -805,7 +805,6 @@ void PG::send_cluster_message( ConnectionRef con = osd->get_con_osd_cluster( target, get_osdmap_epoch()); if (!con) { - m->put(); return; } -- 2.47.3