• Peter Wu's avatar
    Fix memleaks of saslconn on error paths · 7c6d3851
    Peter Wu authored
    If mutt_sasl_client_new returns an error, the callers would ignore the
    allocated saslconn resource from sasl_client_new. Be sure to release
    these with sasl_dispose as documented in sasl.h. Likewise, let callers
    (POP/IMAP) dispose the resource on their error paths. SMTP was already
    taken care of. Found with LeakSanitizer in IMAP.
    7c6d3851
Name
Last commit
Last update
..
Makefile.am Loading commit data...
README Loading commit data...
TODO Loading commit data...
auth.c Loading commit data...
auth.h Loading commit data...
auth_anon.c Loading commit data...
auth_cram.c Loading commit data...
auth_gss.c Loading commit data...
auth_login.c Loading commit data...
auth_oauth.c Loading commit data...
auth_sasl.c Loading commit data...
browse.c Loading commit data...
command.c Loading commit data...
imap.c Loading commit data...
imap.h Loading commit data...
imap_private.h Loading commit data...
message.c Loading commit data...
message.h Loading commit data...
utf7.c Loading commit data...
util.c Loading commit data...