Fix possible memory leak while copy tls_connection_options
Pre-release
Pre-release
What's Changed
- Fix possible memory leak in aws_tls_connection_options_copy.
Now the aws_tls_connection_options_copy function will clean up the options and release memory before copy into it. Please make sure the copy destination option is initialized/zero out before call the function.