Commit 77c901cd authored by Niklas Haas's avatar Niklas Haas

opengl: fix warning on talloc_free

parent 9a61726b
Pipeline #53404 passed with stages
in 9 minutes and 41 seconds
......@@ -1703,7 +1703,7 @@ static const struct pl_pass *gl_pass_create(const struct pl_gpu *gpu,
if (!gl_check_err(gpu, "gl_pass_create: get program binary")) {
PL_WARN(gpu, "Failed generating program binary.. ignoring");
talloc_free((void *) pass->params.cached_program);
pass->params.cached_program = NULL;
pass->params.cached_program_len = 0;
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