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) {