vo_gpu: fix memleak in spirv.c

This commit is contained in:
Niklas Haas 2017-09-26 17:32:36 +02:00
parent a4e951e80c
commit e569050fe4
No known key found for this signature in database
GPG Key ID: 9A09076581B27402
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ bool spirv_compiler_init(struct ra_ctx *ctx)
if (!compilers[i]) if (!compilers[i])
continue; continue;
ctx->spirv = talloc_zero(NULL, struct spirv_compiler); ctx->spirv = talloc_zero(ctx, struct spirv_compiler);
ctx->spirv->log = ctx->log, ctx->spirv->log = ctx->log,
ctx->spirv->fns = compilers[i]; ctx->spirv->fns = compilers[i];