renderer: free vertex element data

this is duplicated by the renderer so free the decoder data.

found with rendering test
macos/master
Dave Airlie 10 years ago
parent f66acaff87
commit fa71f3761d
  1. 2
      src/vrend_decode.c

@ -576,9 +576,7 @@ static int vrend_decode_create_ve(struct vrend_decode_ctx *ctx, uint32_t handle,
ret = vrend_create_vertex_elements_state(ctx->grctx, handle, num_elements,
ve);
if (ret) {
FREE(ve);
}
return ret;
}

Loading…
Cancel
Save