fix cmsencrypt.c mem leak

This commit is contained in:
Zhi Guan
2023-12-12 14:23:46 +08:00
parent 10e02215e3
commit 651d9902eb

View File

@@ -229,6 +229,7 @@ end:
if (infile && infp) fclose(infp);
if (outfile && outfp) fclose(outfp);
if (rcpt_certs) free(rcpt_certs);
if (inbuf) free(inbuf);
if (cms) free(cms);
return ret;
}