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

PKCS12Container: fix memory leaks on exceptions (devel) #3027

Merged
merged 1 commit into from Apr 11, 2021

Conversation

agalanin
Copy link
Contributor

@agalanin agalanin commented Jun 4, 2020

PKCS12Container::load forgets to free pPKCS12 in case of bad container password. There are some more potential memory leaks related to exceptions. I have fixed them all.

Re-targeted to devel branch (see also #3025).

@obiltschnig obiltschnig requested a review from aleks-f June 4, 2020 17:20
@obiltschnig obiltschnig added this to the Release 1.10.2 milestone Jun 4, 2020
@obiltschnig obiltschnig self-assigned this Jun 4, 2020
@obiltschnig obiltschnig added the bug label Jun 4, 2020
@obiltschnig obiltschnig merged commit 7d29ed1 into pocoproject:devel Apr 11, 2021
obiltschnig added a commit that referenced this pull request Apr 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants