Skip to content
Snippets Groups Projects
Commit 5eef1839 authored by Ilia Mirkin's avatar Ilia Mirkin Committed by Emil Velikov
Browse files

glsl: avoid leaking linked gl_shader when there's a late linker error


This makes piglit mixing-clip-distance-and-clip-vertex-disallowed have 0
definitely lost blocks with valgrind. (Same non-0 number of possibly
lost blocks though.)

Signed-off-by: default avatarIlia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: default avatarTobias Klausmann <tobias.johannes.klausmann@mni.thm.de>
Cc: "10.5 10.6" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 5646f0f1)
parent 34ff020a
No related branches found
Tags mesa-20.2.0-rc3
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment