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 leaks on failure to obtain backend interface implementation #43

Merged
merged 1 commit into from Mar 3, 2019

Conversation

2 participants
@aperezdc
Copy link
Contributor

aperezdc commented Mar 2, 2019

If wpe_load_object() fails to obtain the implementation for interfaces, free the struct before the early error returns instead of leaking them.

Fix leaks on failure to obtain backend interface implementation
If wpe_load_object() fails to obtain the implementation for interfaces,
free the struct before the early error returns instead of leaking them.

@aperezdc aperezdc added the bug label Mar 2, 2019

@aperezdc aperezdc requested review from zdobersek and carlosgcampos Mar 2, 2019

@aperezdc aperezdc merged commit 308633d into master Mar 3, 2019

@aperezdc aperezdc deleted the plug-leaks branch Mar 3, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.