egl: replace _egl_driver->Unload() callback with a simple free()
authorEric Engestrom <eric@engestrom.ch>
Tue, 26 Sep 2017 12:13:39 +0000 (13:13 +0100)
committerEric Engestrom <eric.engestrom@imgtec.com>
Thu, 12 Oct 2017 13:38:55 +0000 (14:38 +0100)
commit9690759d0ccadd9527dee892eedc2f9d4baadf59
tree94a10b8762a62bbf3585d30bd597d85295e02e22
parent6049fa454e4752a527cb8e13779082b27adcfb97
egl: replace _egl_driver->Unload() callback with a simple free()

Bonus: fixes a memleak on haiku when unloading the driver

Signed-off-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/drivers/dri2/egl_dri2.c
src/egl/drivers/haiku/egl_haiku.cpp
src/egl/main/egldriver.c
src/egl/main/egldriver.h