summaryrefslogtreecommitdiffstats
path: root/src/gbm/backends/dri/gbm_dri.c
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-07-23 18:08:46 +0100
committerEmil Velikov <[email protected]>2014-07-30 16:33:09 +0100
commite3a3dbe9407bdbf9693349900936d5349cb8bb75 (patch)
tree93e32a81a9777daa4d0439b1e3ca9aa21bc2e641 /src/gbm/backends/dri/gbm_dri.c
parentd93ae21939a0b12e32263dfc14ad672c78d1c2b2 (diff)
st/gbm: don't segfault if the fail to create the screen
Whenever dd_create_screen/pipe_loader_* fails, gdrm->dev may be NULL. Thus peeking inside the struct will lead to a crash. Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gbm/backends/dri/gbm_dri.c')
0 files changed, 0 insertions, 0 deletions