summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/record02/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/libtests/record02/init.c')
-rw-r--r--testsuites/libtests/record02/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuites/libtests/record02/init.c b/testsuites/libtests/record02/init.c
index 5aeeb18cd9..f1c93f7df8 100644
--- a/testsuites/libtests/record02/init.c
+++ b/testsuites/libtests/record02/init.c
@@ -105,6 +105,7 @@ static void Init(rtems_task_argument arg)
cs = rtems_record_client_run(&ctx->client, &header, sizeof(header));
rtems_test_assert(cs == RTEMS_RECORD_CLIENT_SUCCESS);
rtems_record_drain(drain_visitor, ctx);
+ rtems_record_client_destroy(&ctx->client);
TEST_END();
rtems_test_exit(0);