]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-osd: put g_ceph_context before exit
authorSamuel Just <sam.just@inktank.com>
Sat, 1 Dec 2012 01:57:35 +0000 (17:57 -0800)
committerSamuel Just <sam.just@inktank.com>
Sat, 1 Dec 2012 04:57:04 +0000 (20:57 -0800)
Signed-off-by: Samuel Just <sam.just@inktank.com>
src/ceph_osd.cc

index 0652089c226fcef86664b983073cb482b7995912..46e87363009eeb2b41ce05f035a3528422d5c275 100644 (file)
@@ -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];