x509asn1: remove superfluous free()

This commit is contained in:
z2_ 2024-06-28 14:45:47 +02:00 committed by Daniel Stenberg
parent 185a05e943
commit 3a537a4db9
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -393,7 +393,6 @@ utf8asn1str(struct dynbuf *to, int type, const char *from, const char *end)
if(wc >= 0x00000800) {
if(wc >= 0x00010000) {
if(wc >= 0x00200000) {
free(buf);
/* Invalid char. size for target encoding. */
return CURLE_WEIRD_SERVER_REPLY;
}