Avoid call of “Xfree(NULL)”
Open
- Dominant language
- C
- Stars
- 784
- Forks
- 314
- PR merge metrics
- No merged PRs in 30d
Description
:eyes: I find an implementation detail (like the following) suspicious.
https://github.com/intel/libva/blob/e4dc66b240d6d21e6546c9a21dbcfe455c8a6bff/va/x11/va_dri2.c#L194-L195
How do you think about to avoid passing null pointers to resource release functions? :thinking:
Contributor guide
Assessment
This issue has not been assessed yet.