x509asn1: remove superfluous free()
This commit is contained in:
parent
185a05e943
commit
3a537a4db9
@ -393,7 +393,6 @@ utf8asn1str(struct dynbuf *to, int type, const char *from, const char *end)
|
|||||||
if(wc >= 0x00000800) {
|
if(wc >= 0x00000800) {
|
||||||
if(wc >= 0x00010000) {
|
if(wc >= 0x00010000) {
|
||||||
if(wc >= 0x00200000) {
|
if(wc >= 0x00200000) {
|
||||||
free(buf);
|
|
||||||
/* Invalid char. size for target encoding. */
|
/* Invalid char. size for target encoding. */
|
||||||
return CURLE_WEIRD_SERVER_REPLY;
|
return CURLE_WEIRD_SERVER_REPLY;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user