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

rec: Fix a memory leak in DNSSEC validation #3804

Merged
merged 1 commit into from
May 2, 2016

Conversation

rgacogne
Copy link
Member

@rgacogne rgacogne commented May 2, 2016

DNSCryptoKeyEngine::makeFromPublicKeyString() returns a naked
pointer to a new object.

`DNSCryptoKeyEngine::makeFromPublicKeyString()` returns a naked
pointer to a new object.
@rgacogne rgacogne added this to the rec-4-alpha3 milestone May 2, 2016
@ahupowerdns ahupowerdns merged commit e7fe5d0 into PowerDNS:master May 2, 2016
@ahupowerdns
Copy link
Contributor

(small tip, not too relevant here, but scoped_ptr or unique_ptr would save a few cycles potentially)

@rgacogne rgacogne deleted the rec-leak-validate branch May 2, 2016 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants