commit b37d6b1c009898361d79022282ca00fa71241be0
Author: Oswald Buddenhagen <o...@users.sf.net>
Date:   Wed Aug 5 17:36:35 2020 +0200

    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;
 }


_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to