]> granicus.if.org Git - neomutt/commit
imap: Fix mx.mbox leak in imap_get_parent_path 808/head
authorJelle van der Waa <jelle@vdwaa.nl>
Sun, 1 Oct 2017 16:48:34 +0000 (18:48 +0200)
committerRichard Russon <rich@flatcap.org>
Mon, 2 Oct 2017 11:30:09 +0000 (12:30 +0100)
commitb7652910685428fdbc0e002469f808234128bf50
tree33b0ff3edb44d43253b42c5e06ba6446f3c5f651
parentc63f828e7f3464664eca8e7923c0599a21689824
imap: Fix mx.mbox leak in imap_get_parent_path

valgrind reports a memory leak in imap_get_parent_path due to no
free'ing mx.mbox. As described in imap_parse_path, the callee should
free mx.mbox.
imap/util.c