diff options
author | Deepak Rawat <[email protected]> | 2017-04-03 08:12:43 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-04-26 11:37:59 -0600 |
commit | 8de0452ec4d96837846fffc65bc01a56103b9ed5 (patch) | |
tree | 8bb0e47203dcd86626b98dc5e49b17a5035fe0e5 /src/gallium/drivers/svga/svga_screen.c | |
parent | 75be43ed33e7ce01d74bb294c41feec821ecf685 (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