Merge pull request #6941 from douzzer/20231102-examples-asn1-double-fclose

20231102-examples-asn1-double-fclose
This commit is contained in:
Sean Parkinson
2023-11-03 08:50:13 +10:00
committed by GitHub

View File

@ -92,8 +92,6 @@ static int asn1App_ReadFile(FILE* fp, unsigned char** pdata, word32* plen)
/* Set data to new pointer. */
data = p;
}
/* Done with file. */
fclose(fp);
}
if (data != NULL) {