mirror of
https://frontier.innolan.net/rainlance/c-ares.git
synced 2025-11-19 21:50:29 +00:00
Add missing break that caused get_ares_servers to fail.
Reported-by: Ning Dong <flintning@163.com> Signed-off-by: Ben Greear <greearb@candelatech.com>
This commit is contained in:
@ -145,7 +145,8 @@ void *ares_malloc_data(ares_datatype type)
|
|||||||
ptr->data.addr_node.next = NULL;
|
ptr->data.addr_node.next = NULL;
|
||||||
ptr->data.addr_node.family = 0;
|
ptr->data.addr_node.family = 0;
|
||||||
memset(&ptr->data.addr_node.addrV6, 0,
|
memset(&ptr->data.addr_node.addrV6, 0,
|
||||||
sizeof(ptr->data.addr_node.addrV6));
|
sizeof(ptr->data.addr_node.addrV6));
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
free(ptr);
|
free(ptr);
|
||||||
|
|||||||
Reference in New Issue
Block a user