diff options
author | Rongqi Sun <sunrongqi@huawei.com> | 2024-04-16 08:02:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-16 08:02:39 +0200 |
commit | a7639cb6ce633dabc4d37769d62caacb54582984 (patch) | |
tree | ec4dd195b10a07f64e7f57a317bbfea3cf29261d /src/test/osd | |
parent | Merge pull request #56686 from rhcs-dashboard/fix-prometheus-federation--targ... (diff) | |
parent | test/osd/TestOSDScrub: free MonClient resource (diff) | |
download | ceph-a7639cb6ce633dabc4d37769d62caacb54582984.tar.xz ceph-a7639cb6ce633dabc4d37769d62caacb54582984.zip |
Merge pull request #56885 from Svelar/asan_OSDScrub
test/osd/TestOSDScrub: free res_ninit/res_nquery and MonClient resource
Diffstat (limited to 'src/test/osd')
-rw-r--r-- | src/test/osd/TestOSDScrub.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/osd/TestOSDScrub.cc b/src/test/osd/TestOSDScrub.cc index 4c6d4cceedf..28d94ed66da 100644 --- a/src/test/osd/TestOSDScrub.cc +++ b/src/test/osd/TestOSDScrub.cc @@ -196,6 +196,7 @@ TEST(TestOSDScrub, scrub_time_permit) { now = utime_t(mktime(&tm), 0); ret = osd->scrub_time_permit(now); ASSERT_FALSE(ret); + mc.shutdown(); } // Local Variables: |