isync

mailbox synchronization program
git clone https://git.code.sf.net/p/isync/isync
Log | Files | Refs | README | LICENSE

commit 09d11245cde07fa7711cdb78b695a44e14f0fa38
parent 83adb9a39ba36660a6643799550e3e3f61436100
Author: Oswald Buddenhagen <ossi@users.sf.net>
Date:   Mon, 11 Nov 2019 22:32:21 +0100

don't leak box list from the command line

we also free the box list obtained from IMAP, so there isn't a real
reason not to do that for one from the command line.

amends 1de3ecd88.

Diffstat:
Msrc/main.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c @@ -959,7 +959,7 @@ sync_chans( main_vars_t *mvars, int ent ) mvars->skip = 1; return; } - if (mvars->chanptr->boxlist == 2) { + if (mvars->chanptr->boxlist) { for (nmbox = mvars->chanptr->boxes; (mbox = nmbox); ) { nmbox = mbox->next; free( mbox->name );