commit e9c9b374f19b1a43afd53ec108cf2218b425f91e
Author: Oswald Buddenhagen <[email protected]>
Date: Mon Nov 11 22:32:21 2019 +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.
src/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main.c b/src/main.c
index 977ae97..bf0e64c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -939,7 +939,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 );
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel