egl: Fix a potential segfault in driver suffix matching.
authorChia-I Wu <olvaffe@gmail.com>
Wed, 3 Feb 2010 04:35:57 +0000 (12:35 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Wed, 3 Feb 2010 06:16:16 +0000 (14:16 +0800)
commit8e6a964411ea3e1d7dc4c86c314e326e3be2b0eb
treecba2318553d1c7942e39e4073438b43fd2d8c7a8
parent2287f4c52ab10a6d65d7bb12803a8ee0f2394699
egl: Fix a potential segfault in driver suffix matching.

The driver suffix might be NULL on some platforms.  Perform the matching
only when there is a suffix.
src/egl/main/egldriver.c