From baf78c34bd9c3f8a226ba877384f6412e814ec16 Mon Sep 17 00:00:00 2001 From: Bret Ambrose Date: Mon, 26 Feb 2024 16:42:41 -0800 Subject: [PATCH] Test mem leak --- tests/request-response/subscription_manager_tests.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/request-response/subscription_manager_tests.c b/tests/request-response/subscription_manager_tests.c index 383d76b3..d34a65d9 100644 --- a/tests/request-response/subscription_manager_tests.c +++ b/tests/request-response/subscription_manager_tests.c @@ -73,6 +73,8 @@ static void s_aws_mqtt_protocol_adapter_mock_destroy(void *impl) { } aws_array_list_clean_up(&adapter->api_records); + + aws_mem_release(adapter->allocator, adapter); } int s_aws_mqtt_protocol_adapter_mock_subscribe(void *impl, struct aws_protocol_adapter_subscribe_options *options) {