From 1f497f3248ad9ab5df4bc86ef4e23addd2bec9e1 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 12 Oct 2021 09:24:58 +1000 Subject: [PATCH] test: call pw_deinit() at the end of the context tests --- test/test-context.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/test-context.c b/test/test-context.c index b5c7d62e6..ec666e535 100644 --- a/test/test-context.c +++ b/test/test-context.c @@ -60,6 +60,8 @@ PWTEST(context_abi) pwtest_int_eq(PW_VERSION_CONTEXT_EVENTS, 0); pwtest_int_eq(sizeof(ev), sizeof(test)); + pw_deinit(); + return PWTEST_PASS; } @@ -168,6 +170,8 @@ PWTEST(context_create) pwtest_int_eq(global_removed_count, 2); pw_main_loop_destroy(loop); + pw_deinit(); + return PWTEST_PASS; } @@ -215,6 +219,8 @@ PWTEST(context_properties) pw_context_destroy(context); pw_main_loop_destroy(loop); + pw_deinit(); + return PWTEST_PASS; } @@ -255,6 +261,8 @@ PWTEST(context_support) pw_context_destroy(context); pw_main_loop_destroy(loop); + pw_deinit(); + return PWTEST_PASS; }