On Tue, 30 Oct 2018 at 07:13, Zhaowei Yuan <zhaowei.y...@samsung.com> 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
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to