[vlc-commits] [Git][videolan/vlc][master] d3d11_fmt: release the debug interface we queried

François Cartegnie (@fcartegnie) gitlab at videolan.org
Sat Jan 8 16:25:38 UTC 2022



François Cartegnie pushed to branch master at VideoLAN / VLC


Commits:
b8e1ef21 by Steve Lhomme at 2022-01-08T15:40:15+00:00
d3d11_fmt: release the debug interface we queried

The doc doesn't say we have to release it but it makes sense. If it was received
by a ComPtr it would be.

- - - - -


1 changed file:

- modules/video_chroma/d3d11_fmt.c


Changes:

=====================================
modules/video_chroma/d3d11_fmt.c
=====================================
@@ -918,6 +918,7 @@ void D3D11_LogResources(d3d11_decoder_device_t *dev_sys)
         {
             IDXGIDebug *pDXGIDebug = pv;
             IDXGIDebug_ReportLiveObjects(pDXGIDebug, DXGI_DEBUG_ALL, DXGI_DEBUG_RLO_ALL);
+            IDXGIDebug_Release(pDXGIDebug);
         }
     }
 # endif



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/b8e1ef211c8cfbc0d7681decc905b1e267563491

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/b8e1ef211c8cfbc0d7681decc905b1e267563491
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list