summaryrefslogtreecommitdiff
path: root/src/ceph_osd.cc
diff options
context:
space:
mode:
authorSamuel Just <sam.just@inktank.com>2012-11-30 17:57:35 -0800
committerSamuel Just <sam.just@inktank.com>2012-11-30 20:57:04 -0800
commitdccf6ee4d577214af41963bec2becfe5fab1d41e (patch)
tree90c9d14a496d2b9eb36be292fd9ac26a26382359 /src/ceph_osd.cc
parent49f32cee647c5bd09f36ba7c9fd4f481a697b9d7 (diff)
downloadceph-dccf6ee4d577214af41963bec2becfe5fab1d41e.tar.gz
ceph-osd: put g_ceph_context before exit
Signed-off-by: Samuel Just <sam.just@inktank.com>
Diffstat (limited to 'src/ceph_osd.cc')
-rw-r--r--src/ceph_osd.cc1
1 files changed, 1 insertions, 0 deletions
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];