summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2018-10-09 08:55:46 -0600
committerBrian Paul <[email protected]>2018-10-09 11:17:14 -0600
commit797e34f65879039aecc0a677c44af0a1185edfd7 (patch)
treeab83b7f7559a43e7adb04cfa9ddccbaaec5a8f80 /src/gallium/include
parentb781688636a42be2120047b868abc9bab823acbf (diff)
svga: change svga_destroy_shader_variant() to return void
svga_destroy_shader_variant() itself flushes and retries the command if there's a failure. So no need for the callers to do it. Other callers of the function were already ignoring the return value. This also fixes a corner-case double-free reported by Coverity (and reported by Dave Airlie). Tested with various OpenGL apps. Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/include')
0 files changed, 0 insertions, 0 deletions