On Tue, 30 Oct 2018 at 07:13, Zhaowei Yuan <[email protected]> wrote:
>
> Pointer dri2_dpy->device_name is probably NULL when calling
> dri2_display_destory, check this before releasing it.
>
According to the man page, free(NULL) is perfectly valid and safe.

-Emil
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to