egl/x11: Remove unneeded free() on always null string
authorVadym Shovkoplias <vadym.shovkoplias@globallogic.com>
Fri, 1 Dec 2017 15:08:53 +0000 (17:08 +0200)
committerEric Engestrom <eric.engestrom@imgtec.com>
Fri, 1 Dec 2017 15:15:30 +0000 (15:15 +0000)
commita1b4f1877f2ef7f0e1e10fdcef854391547f1018
tree9f35579f31a178cd663c424fb3c909a04f1141fe
parent29ee934331ce624ce4c30750ce0e8d4baa5eb2fa
egl/x11: Remove unneeded free() on always null string

In this condition dri2_dpy->driver_name string always equals
NULL, so call to free() is useless

Signed-off-by: Vadym Shovkoplias <vadym.shovkoplias@globallogic.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/egl/drivers/dri2/platform_x11.c