Don't close FILE we don't own
authorColin Leroy <colin@colino.net>
Thu, 5 Jun 2014 14:40:17 +0000 (16:40 +0200)
committerColin Leroy <colin@colino.net>
Thu, 5 Jun 2014 14:40:17 +0000 (16:40 +0200)
src/plugins/tnef_parse/tnef_dump.c

index cee1572..15b8c99 100644 (file)
@@ -675,7 +675,7 @@ gboolean SaveVTask(FILE *fptr, TNEFStruct TNEF) {
         }
         fprintf(fptr, "END:VTODO\n");
         fprintf(fptr, "END:VCALENDAR\n");
-        fclose(fptr);
+
         return TRUE;
 }