]> granicus.if.org Git - neomutt/commit
Convert buffy_mbox_check() and trash_append() to use local context.
authorKevin McCarthy <kevin@8t8.us>
Fri, 22 Jul 2016 21:55:01 +0000 (14:55 -0700)
committerKevin McCarthy <kevin@8t8.us>
Fri, 22 Jul 2016 21:55:01 +0000 (14:55 -0700)
commit4f175525bf59a9e271302c260185281403cf35dc
tree34059506e274b45d2d2fd376073649a1dac9b117
parentab20c35d922a95e61f1f718bd1c1b585030a0f5e
Convert buffy_mbox_check() and trash_append() to use local context.

buffy_mbox_check() was leaking the dynamically allocated context.
Rather than add a call to free, just convert it to use a local
variable.

Make the same change to trash_append(), which doesn't need the
dynamically allocated context either.
buffy.c
mx.c