rohrpost

A commandline mail client to change the world as we see it.
git clone git://r-36.net/rohrpost
Log | Files | Refs | LICENSE

commit e6e026d0df15033218409fee084a97020422b577
parent d4a4d688ad438e13b84959b66abc4e1a04b94485
Author: Christoph Lohmann <20h@r-36.net>
Date:   Mon, 27 Apr 2020 19:17:19 +0200

Fix double frees and missing free of ids.

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

diff --git a/flag.c b/flag.c @@ -193,11 +193,11 @@ flagmain(int argc, char *argv[]) if (imap_delflags(imap, ids, flagl)) imap_die(imap, "imap_delflags"); } - free(user); flagrl = imap_getflags(imap, ids); if (flagrl == NULL) imap_die(imap, "imap_getflags"); + llist_free(ids); printf("ID\tFlags\n");