If the shader failed to be finished, it should be removed from the hashtable if it was already inserted. Use the goto error path in this case to handle shader destroy and prevent potential later lookup of invalid shader from the hashtable. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>macos/master
parent
117b54befb
commit
7b2fbc9fd3
Loading…
Reference in new issue