Commit 02e81fec authored by Marc-André Lureau's avatar Marc-André Lureau Committed by Dave Airlie
Browse files

renderer: unref index buffer when destroying sub context

Found thanks to AddressSanitizer.
Signed-off-by: default avatarMarc-André Lureau <>
parent e9e19b5b
......@@ -3859,6 +3859,8 @@ static void vrend_destroy_sub_context(struct vrend_sub_context *sub)
vrend_surface_reference(&sub->surf[i], NULL);
vrend_resource_reference((struct vrend_resource **)&sub->ib.buffer, NULL);
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