]> git.ipfire.org Git - thirdparty/curl.git/commit
lib: fix some misuse of curlx_convert_UTF8_to_tchar
authorJay Satiro <raysatiro@yahoo.com>
Fri, 23 Apr 2021 04:21:16 +0000 (00:21 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Tue, 27 Apr 2021 19:09:23 +0000 (15:09 -0400)
commit1d5d0ae9e579f7744fa6bb4d0e5fc489b0bbcfa0
tree38c54dad9638094d8902250cd1d71793fb8df239
parent3e820fbf25f38743fd30e0ce96ba9ae34791aa7c
lib: fix some misuse of curlx_convert_UTF8_to_tchar

curlx_convert_UTF8_to_tchar must be freed by curlx_unicodefree, but
prior to this change some uses mistakenly called free.

I've reviewed all other uses of curlx_convert_UTF8_to_tchar and
curlx_convert_tchar_to_UTF8.

Bug: https://github.com/curl/curl/pull/6602#issuecomment-825236763
Reported-by: sergio-nsk@users.noreply.github.com
Closes https://github.com/curl/curl/pull/6938
lib/ldap.c
lib/vauth/vauth.c