wined3d: Fix memory leak in shader_glsl_init_transform_feedback().
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f942df461b
commit
f38de4ff61
|
@ -950,6 +950,7 @@ static void shader_glsl_init_transform_feedback(const struct wined3d_context *co
|
|||
{
|
||||
FIXME("No varyings to record, disabling transform feedback.\n");
|
||||
shader->u.gs.so_desc.element_count = 0;
|
||||
string_buffer_release(&priv->string_buffers, buffer);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue