diff --git a/distributed_schedule_lite/system_ability_manager_posix/src/IUnknownTest.cpp b/distributed_schedule_lite/system_ability_manager_posix/src/IUnknownTest.cpp index 2a6207181080fc7fc4b5aa2562345d57612dcb6f..230beadbcbea44f5f259fed6691d9e9a7f8dc726 100755 --- a/distributed_schedule_lite/system_ability_manager_posix/src/IUnknownTest.cpp +++ b/distributed_schedule_lite/system_ability_manager_posix/src/IUnknownTest.cpp @@ -194,6 +194,8 @@ HWTEST_F(IUnknownTest, testQueryInterface0010, Function | MediumTest | Level2) { int resultRelease = iUnknown->Release(iUnknown); ASSERT_EQ(1, resultAdd - resultRelease); + (void)iUnknown->Release(iUnknown); + SAMGR_GetInstance()->UnregisterFeatureApi(SERVICE_NAME, FEATURE_NAME); }