diff options
author | Brian Paul <[email protected]> | 2018-10-09 08:55:46 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2018-10-09 11:17:14 -0600 |
commit | 797e34f65879039aecc0a677c44af0a1185edfd7 (patch) | |
tree | ab83b7f7559a43e7adb04cfa9ddccbaaec5a8f80 /src/mapi/.gitignore | |
parent | b781688636a42be2120047b868abc9bab823acbf (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/mapi/.gitignore')
0 files changed, 0 insertions, 0 deletions