Skip to content

Commit

Permalink
memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
bradh352 committed Aug 17, 2024
1 parent 71875f3 commit 88d93ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/ares__socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,7 @@ ares_status_t ares__open_connection(ares_conn_t **conn_out,
ares__llist_node_claim(node);
ares__llist_destroy(conn->queries_to_conn);
ares__close_socket(channel, conn->fd);
ares__buf_cancel(conn->out_buf);
ares__buf_destroy(conn->out_buf);
ares_free(conn);
} else {
*conn_out = conn;
Expand Down

0 comments on commit 88d93ef

Please sign in to comment.