]> granicus.if.org Git - neomutt/commit
Avoid FREE'ing a non-malloc'd block
authorPietro Cerutti <gahr@gahr.ch>
Mon, 12 Nov 2018 09:38:50 +0000 (09:38 +0000)
committerPietro Cerutti <gahr@gahr.ch>
Mon, 12 Nov 2018 09:38:50 +0000 (09:38 +0000)
commitb54b0b6f256e050e5746822e1c482c7233970104
tree58a0b4ca84f689628cb4544c0a35ffc6d59c8e12
parent0b9480ee11d172f5dfae1688bffa45b4b29ae383
Avoid FREE'ing a non-malloc'd block

The mx.mbox member variable could remain uninitialized if imap_prepare_mailbox
failed, for example because a mailbox in the list doesn't have an account
associated with it.
imap/imap.c