version 1.328, 2013/12/19 01:04:36 |
version 1.329, 2014/01/31 16:39:19 |
|
|
if (cc->abandon_cb != NULL) |
if (cc->abandon_cb != NULL) |
cc->abandon_cb(c, cc->ctx); |
cc->abandon_cb(c, cc->ctx); |
TAILQ_REMOVE(&c->status_confirms, cc, entry); |
TAILQ_REMOVE(&c->status_confirms, cc, entry); |
bzero(cc, sizeof(*cc)); |
explicit_bzero(cc, sizeof(*cc)); |
free(cc); |
free(cc); |
} |
} |
if (c->filter_cleanup != NULL && c->filter_ctx != NULL) |
if (c->filter_cleanup != NULL && c->filter_ctx != NULL) |
|
|
return; |
return; |
cc->cb(type, c, cc->ctx); |
cc->cb(type, c, cc->ctx); |
TAILQ_REMOVE(&c->status_confirms, cc, entry); |
TAILQ_REMOVE(&c->status_confirms, cc, entry); |
bzero(cc, sizeof(*cc)); |
explicit_bzero(cc, sizeof(*cc)); |
free(cc); |
free(cc); |
} |
} |
|
|
|
|
free(cctx->host); |
free(cctx->host); |
if (cctx->aitop) |
if (cctx->aitop) |
freeaddrinfo(cctx->aitop); |
freeaddrinfo(cctx->aitop); |
bzero(cctx, sizeof(*cctx)); |
memset(cctx, 0, sizeof(*cctx)); |
cctx->host = NULL; |
|
cctx->ai = cctx->aitop = NULL; |
|
} |
} |
|
|
/* Return CONNECTING channel to remote host, port */ |
/* Return CONNECTING channel to remote host, port */ |