From b37d6b1c009898361d79022282ca00fa71241be0 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Wed, 5 Aug 2020 17:36:35 +0200 Subject: [PATCH] fix invalid free() in error path the tuid isn't actually allocated - it's a pointer into the raw data. amends a5a8783e. --- src/drv_imap.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/drv_imap.c b/src/drv_imap.c index abb9e21..c7ddb8a 100644 --- a/src/drv_imap.c +++ b/src/drv_imap.c @@ -1186,7 +1186,6 @@ parse_fetch_rsp( imap_store_t *ctx, list_t *list, char *s ATTR_UNUSED ) return LIST_OK; ffail: - free( tuid ); free( msgid ); return LIST_BAD; }