Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix memory leak in TSAPI_ImportSM2Key() #647

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

dongbeiouba
Copy link
Member

privkey and pubkey should be freed at the end of TSAPI_ImportSM2Key().

Checklist
  • https://yuque.com/tsdoc 增加或更新了必要的文档
  • 增加或更新了必要的测试用例
  • 对于重要修改,更新了CHANGES文件
  • 当前修改存在对已有API参数或返回值的改变
  • 当前修改存在对旧版本功能的兼容性改变(如网络协议或密码算法)

privkey and pubkey should be freed at the end of TSAPI_ImportSM2Key().
@dongbeiouba dongbeiouba requested review from InfoHunter, uudiin, wa5i, zzl360 and a team August 27, 2024 03:43
@CLAassistant
Copy link

CLAassistant commented Aug 27, 2024

CLA assistant check
All committers have signed the CLA.

@InfoHunter
Copy link
Member

CLA is going to be signed again.

@InfoHunter InfoHunter merged commit b4e5cb8 into Tongsuo-Project:master Sep 11, 2024
92 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants