diff options
author | Eduardo Chappa <chappa@washington.edu> | 2021-08-23 21:16:46 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2021-08-23 21:16:46 -0600 |
commit | 8961761e0b3c7b3cc11a00f6ac6ebf7a29bc5a10 (patch) | |
tree | 277ebcf5150a1950dbd4deacb82cd89fbd9ce83f /imap/src/c-client/mail.c | |
parent | e9b3f2043f7d309ecc58b907ff17d561ff972698 (diff) | |
download | alpine-8961761e0b3c7b3cc11a00f6ac6ebf7a29bc5a10.tar.xz |
* Fix some memory leaks reported by Valgrind.
Diffstat (limited to 'imap/src/c-client/mail.c')
-rw-r--r-- | imap/src/c-client/mail.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/imap/src/c-client/mail.c b/imap/src/c-client/mail.c index f3e14fe3..730201c2 100644 --- a/imap/src/c-client/mail.c +++ b/imap/src/c-client/mail.c @@ -1440,6 +1440,7 @@ MAILSTREAM *mail_close_full (MAILSTREAM *stream,long options) if (stream->dtb) (*stream->dtb->close) (stream,options); stream->dtb = NIL; /* resign driver */ if (stream->mailbox) fs_give ((void **) &stream->mailbox); + if (stream->auth.name) fs_give ((void **) &stream->auth.name); if (stream->original_mailbox) fs_give ((void **) &stream->original_mailbox); if (stream->snarf.name) fs_give ((void **) &stream->snarf.name); |