Remove dead code, fixing Coverity CID #1398568.
authorwwp <wwp@free.fr>
Thu, 12 Jan 2017 09:06:22 +0000 (10:06 +0100)
committerwwp <wwp@free.fr>
Thu, 12 Jan 2017 09:06:22 +0000 (10:06 +0100)
src/plugins/mailmbox/mailimf.c

index 99b675a97b055ec3c7906e128f8c2b9a14c77b7b..f825b863ed0e76af04fe44cea6177655ea2c413d 100644 (file)
@@ -7014,8 +7014,6 @@ mailimf_optional_field_parse(const char * message, size_t length,
     mailimf_unstructured_free(value);
   if (name)
     mailimf_field_name_free(name);
-  if (optional_field)
-    mailimf_optional_field_free(optional_field);
          
  err:
   return res;