mirror of
https://github.com/ceph/ceph
synced 2024-12-18 17:37:38 +00:00
test/libcephfs/test.cc: free cmount structure before return
call ceph_shutdown to free cmount structure before return Signed-off-by: Xing Lin <xinglin@cs.utah.edu>
This commit is contained in:
parent
b7134c9a2e
commit
0d3cdb9fdb
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user