static void crt_logger_impl_clean_up()

in src/logging.c [45:53]


static void crt_logger_impl_clean_up(struct logger_impl *impl) {
    if (impl->channel) {
        aws_mem_release(aws_default_allocator(), impl->channel);
    }
    if (impl->formatter) {
        aws_mem_release(aws_default_allocator(), impl->formatter);
    }
    AWS_ZERO_STRUCT(*impl);
}