libva icon indicating copy to clipboard operation
libva copied to clipboard

Avoid call of “Xfree(NULL)”

Open elfring opened this issue 9 months ago • 0 comments

: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:

elfring avatar Jan 24 '25 09:01 elfring