/*++ /* NAME /* smtp_state 3 /* SUMMARY /* initialize/cleanup shared state /* SYNOPSIS /* #include "smtp.h" /* /* SMTP_STATE *smtp_state_alloc() /* /* void smtp_state_free(state) /* SMTP_STATE *state; /* DESCRIPTION /* smtp_state_init() initializes the shared state, and allocates /* memory for buffers etc. /* /* smtp_cleanup() destroys memory allocated by smtp_state_init(). /* STANDARDS /* DIAGNOSTICS /* BUGS /* SEE ALSO /* LICENSE /* .ad /* .fi /* The Secure Mailer license must be distributed with this software. /* AUTHOR(S) /* Wietse Venema /* IBM T.J. Watson Research /* P.O. Box 704 /* Yorktown Heights, NY 10598, USA /* /* Wietse Venema /* Google, Inc. /* 111 8th Avenue /* New York, NY 10011, USA
/*--*/
void smtp_state_free(SMTP_STATE *state)
{ #ifdef USE_TLS /* The TLS policy cache lifetime is one delivery. */
smtp_tls_policy_cache_flush(); if (state->tls_stats)
pol_stats_free(state->tls_stats); #endif
vstring_free(state->iterator->request_nexthop);
vstring_free(state->iterator->dest);
vstring_free(state->iterator->host);
vstring_free(state->iterator->addr);
vstring_free(state->iterator->saved_dest); #ifdef USE_TLSRPT if (state->tlsrpt)
trw_free(state->tlsrpt); #endif if (state->dest_label)
vstring_free(state->dest_label); if (state->dest_prop)
vstring_free(state->dest_prop); if (state->endp_label)
vstring_free(state->endp_label); if (state->endp_prop)
vstring_free(state->endp_prop); if (state->cache_used)
htable_free(state->cache_used, (void (*) (void *)) 0); if (state->why)
dsb_free(state->why); if (state->debug_peer_per_nexthop)
debug_peer_restore();
myfree((void *) state);
}
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet am 2026-08-09)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.