mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-09 18:48:18 +02:00
check for winsys->destroy before calling
This commit is contained in:
parent
19ff2326e9
commit
73467e1080
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ static void i915_destroy( struct pipe_context *pipe )
|
|||
|
||||
draw_destroy( i915->draw );
|
||||
|
||||
if(i915->winsys)
|
||||
if(i915->winsys->destroy)
|
||||
i915->winsys->destroy(i915->winsys);
|
||||
|
||||
FREE( i915 );
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue