Commit f38de4ff authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

wined3d: Fix memory leak in shader_glsl_init_transform_feedback().

parent f942df46
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment