egl: fix deadlock in malloc error path
authorEric Engestrom <eric.engestrom@intel.com>
Mon, 26 Aug 2019 14:29:49 +0000 (15:29 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Tue, 3 Sep 2019 23:10:18 +0000 (00:10 +0100)
commit43d470404c47d86d1fab93d1345e09375bcf4fb6
tree3de95214f1728e9b9d661fb68279a3d4e2ef3ba7
parent3afe9d798aacc0abc6d898dda3360f06517caf8e
egl: fix deadlock in malloc error path

Fixes: cb0980e69aa921af7086 ("egl: move alloc & init out of _eglBuiltInDriver{DRI2,Haiku}")
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/egl/main/egldriver.c