From db9e1209c990ae73a57bc7d9dfe95436b60ba2be Mon Sep 17 00:00:00 2001 From: Samuel Just Date: Wed, 29 Aug 2012 15:58:19 -0700 Subject: [PATCH] osd/OSD.cc: OSD::shutdown() leaks lock CID 716952: Missing unlock (LOCK)At (48): Returning without unlocking "this->osd_lock._m". Signed-off-by: Samuel Just --- src/osd/OSD.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index 90291a2d4e3a1..2f5109e40ac49 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -1134,6 +1134,7 @@ int OSD::shutdown() delete service.watch; + osd_lock.Unlock(); return r; } -- 2.39.5