summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_screen.c
diff options
context:
space:
mode:
authorDeepak Rawat <[email protected]>2017-04-03 08:12:43 -0700
committerBrian Paul <[email protected]>2017-04-26 11:37:59 -0600
commit8de0452ec4d96837846fffc65bc01a56103b9ed5 (patch)
tree8bb0e47203dcd86626b98dc5e49b17a5035fe0e5 /src/gallium/drivers/svga/svga_screen.c
parent75be43ed33e7ce01d74bb294c41feec821ecf685 (diff)
winsys/svga: fix error path when kernel is not able to create surface
If for some reason kernel is not able to create surface, when no buffer was provided the function vmw_svga_winsys_surface_create should return NULL. This patch fixes the issue where the code was not following the clean up path in case of error, which used to cause SIGSEGV. Reviewed-by: Sinclair Yeh <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_screen.c')
0 files changed, 0 insertions, 0 deletions