diff --git a/src/ceph_osd.cc b/src/ceph_osd.cc index 0652089c226..46e87363009 100644 --- a/src/ceph_osd.cc +++ b/src/ceph_osd.cc @@ -459,6 +459,7 @@ int main(int argc, const char **argv) delete messenger_hbclient; delete messenger_hbserver; delete cluster_messenger; + g_ceph_context->put(); // cd on exit, so that gmon.out (if any) goes into a separate directory for each node. char s[20];