diff options
author | Brian Paul <[email protected]> | 2016-03-29 13:34:36 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-03-29 13:35:08 -0600 |
commit | 96e0894106b25eec2bab4545566d832846e99034 (patch) | |
tree | 17da42fc4541adb4f929b7af1b0071b8bc9f1de1 /src/gallium/winsys | |
parent | 9d57c84994abe45133382cf72ae617570bfe89da (diff) |
svga: avoid freeing non-malloced memory
svga_shader_expand() will fall back to using non-malloced memory for
emit.buf if malloc fails. We should check if the memory is malloced
before freeing it in the error path of svga_tgsi_vgpu9_translate.
Original patch by Thomas Hindoe Paaboel Andersen <[email protected]>.
Remove trivial svga_destroy_shader_emitter() function, by BrianP.
Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/winsys')
0 files changed, 0 insertions, 0 deletions