mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-07 00:46:17 +08:00
fix cmsencrypt.c mem leak
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user