Hans de Goede <hdego...@redhat.com> writes: > glamor_egl_init() was not undoing any of the init steps on init error, > add an glamor_egl_cleanup() function and use this both on error and on exit > to cleanup the various resources. > > Even on a clean exit eglTerminate() was not being called, causing the fd > dup()-ed by eglInitialize() to stay open, call eglTerminate() from the new > glamor_egl_cleanup() to fix this. > > Signed-off-by: Hans de Goede <hdego...@redhat.com>
Reviewed-by: Eric Anholt <e...@anholt.net> I'll stick it in my next pull request, unless keithp grabs it first.
signature.asc
Description: PGP signature
_______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel