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

Remove unnecessary null pointer checks #46

Closed
elfring opened this issue Nov 9, 2021 · 1 comment
Closed

Remove unnecessary null pointer checks #46

elfring opened this issue Nov 9, 2021 · 1 comment

Comments

@elfring
Copy link

elfring commented Nov 9, 2021

💭 Two null pointer checks are not needed before the calls “free(protocols.drm_name)” in the function “wlEglGetPlatformDisplayExport”.

@erik-kz
Copy link

erik-kz commented Apr 13, 2024

While these NULL checks may be unnecessary, they aren't doing any harm.

@erik-kz erik-kz closed this as completed Apr 13, 2024
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

No branches or pull requests

2 participants