diff --git a/src/test/libcephfs/test.cc b/src/test/libcephfs/test.cc index 9d917f51038..e64e8311e4e 100644 --- a/src/test/libcephfs/test.cc +++ b/src/test/libcephfs/test.cc @@ -110,6 +110,7 @@ TEST(LibCephFS, UnmountUnmounted) { ASSERT_EQ(0, ceph_conf_parse_env(cmount, NULL)); ASSERT_EQ(0, ceph_conf_read_file(cmount, NULL)); ASSERT_EQ(-ENOTCONN, ceph_unmount(cmount)); + ceph_shutdown(cmount); } TEST(LibCephFS, ReleaseUnmounted) {