summaryrefslogtreecommitdiffstats
path: root/commands.c
diff options
context:
space:
mode:
authorWill Fiveash <Will.Fiveash@Sun.COM>2016-07-16 14:04:29 -0700
committerWill Fiveash <Will.Fiveash@Sun.COM>2016-07-16 14:04:29 -0700
commit4c3fa09f102bbad32bd88db1db53e55ed5939b31 (patch)
treec757f36ba7ee56d81a0f308278afc3752011e6cd /commands.c
parent717cbe335930c4db610051f257254254bcd0fbe0 (diff)
Fix memory leak in mutt_sasl_cb_pass.
SASL doesn't free the sasl_secret_t, so this was leaking. Instead, keep our own pointer to it, and safe_realloc() each time. sasl_secret_t doesn't need the data field null terminated, so memcpy the password over.
Diffstat (limited to 'commands.c')
0 files changed, 0 insertions, 0 deletions