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 04b3336..53d48fa 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 7e88a16..ae0fd2f 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();
 }