summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2013-08-04 01:18:28 -0700
committerVinson Lee <vlee@freedesktop.org>2013-08-05 21:54:20 -0700
commitb57c1e4b86a0884318418bb19191af41cfd40175 (patch)
tree0f1daa87774cce2a66ba5997911e1e03264dc4b8 /src/mesa/drivers/dri
parent60b567ee59b96b9fa334bf59d3d443c29c590c54 (diff)
llvmpipe: Do not need to free anything if there is no geometry shader.
If gs is null, then freeing state->shader.tokens would result in a null dereference. Fixes "Dereference after null check" defect reported by Coverity. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/mesa/drivers/dri')
0 files changed, 0 insertions, 0 deletions