cts-verifier: clear resources when finishing test
authorSeonah Moon <seonah1.moon@samsung.com>
Thu, 9 Apr 2020 06:59:50 +0000 (15:59 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Thu, 9 Apr 2020 06:59:50 +0000 (15:59 +0900)
cts-verifier/cts-verifier-publish-test.c
cts-verifier/cts-verifier-subscribe-test.c

index 04b3336dd2e786ab494b7a64e77ead64c82355fa..53d48fa411f325fd308d0f655adcc62f9ffa2961 100644 (file)
@@ -57,6 +57,8 @@ static void __test_finish(int is_validated)
                printf(MAKE_GREEN"Wi-Fi Aware validated!"RESET_COLOR"\n");
        else
                printf(MAKE_RED"Wi-Fi Aware invalidated!"RESET_COLOR"\n");
+
+       clear_resources();
        test_deinit();
 }
 
index 7e88a16877dd3259cc9a873688b3576af83ececb..ae0fd2fccc3bddfb5a3260c9fe0fefdfb277c661 100644 (file)
@@ -54,6 +54,7 @@ static void __test_finish(int is_validated)
        else
                printf(MAKE_RED"Wi-Fi Aware invalidated!"RESET_COLOR"\n");
 
+       clear_resources();
        test_deinit();
 }