libva
libva copied to clipboard
Avoid call of “Xfree(NULL)”
: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: