Skip to content
Snippets Groups Projects

d3d11: do not leak IDXGIAdapter4

Merged Kacper Michajłow requested to merge kasper93/libplacebo:d3d11_leak into master
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
+ 1
0
@@ -667,6 +667,7 @@ pl_gpu pl_gpu_create_d3d11(struct d3d11_ctx *ctx)
error:
SAFE_RELEASE(dxgi_dev);
SAFE_RELEASE(adapter);
SAFE_RELEASE(adapter4);
if (success) {
return pl_gpu_finalize(gpu);
} else {
Loading