egl/wayland: properly destroy wayland objects
authorAxel Davy <axel.davy@ens.fr>
Thu, 30 Apr 2015 22:03:32 +0000 (00:03 +0200)
committerAxel Davy <axel.davy@ens.fr>
Mon, 11 May 2015 17:31:43 +0000 (19:31 +0200)
commit6aaf09b93b668a24b557e05195b9897e8cee8559
treee281bd2fcf9583767b911cf8318bdd40a1caf19e
parentbfdae9149e00bd5c2521db3e75669ae043eed5cc
egl/wayland: properly destroy wayland objects

the wl_registry and the wl_queue allocated weren't destroyed.

CC: 10.5 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/egl/drivers/dri2/egl_dri2.c
src/egl/drivers/dri2/platform_wayland.c