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

index 9a7146f..66dce6b 100644 (file)
@@ -568,7 +568,6 @@ mailimf_resent_fields_add_data(struct mailimf_fields * fields,
  free_field:
   if (field != NULL) {
     detach_resent_field(field);
-    mailimf_field_free(field);
   }
  free:
   detach_free_common_fields(imf_resent_date,