Fix another use-after-free
authorColin Leroy <colin@colino.net>
Thu, 5 Jun 2014 14:41:10 +0000 (16:41 +0200)
committerColin Leroy <colin@colino.net>
Thu, 5 Jun 2014 14:41:10 +0000 (16:41 +0200)
src/plugins/mailmbox/mailimf_types_helper.c

index 66dce6b..fa09d25 100644 (file)
@@ -1150,7 +1150,6 @@ int mailimf_fields_add_data(struct mailimf_fields * fields,
  free_field:
   if (field != NULL) {
     detach_field(field);
-    mailimf_field_free(field);
   }
  free:
   detach_free_fields(imf_date,