diff options
author | Tobias Arrskog <topfs2@xbmc.org> | 2014-10-21 22:19:37 +0200 |
---|---|---|
committer | Tobias Arrskog <topfs2@xbmc.org> | 2014-10-21 22:19:37 +0200 |
commit | 757effd7dbe05a671248bb98cf338ef9190b17e3 (patch) | |
tree | 5c26ca3b0da279d08504c5436de39115d1195260 | |
parent | 96f3d33ff42ab67f91ff87d1294b7d95ba77f61e (diff) | |
parent | 08d9797ce613aa3fe9b5e5e45fec10d1baff8beb (diff) |
Merge pull request #5541 from FernetMenta/dxva
dxva: fix memory leak caused by additional ref on video surfaces
-rw-r--r-- | xbmc/cores/dvdplayer/DVDCodecs/Video/DXVA.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/xbmc/cores/dvdplayer/DVDCodecs/Video/DXVA.cpp b/xbmc/cores/dvdplayer/DVDCodecs/Video/DXVA.cpp index ba23b550fe..2caf2b292b 100644 --- a/xbmc/cores/dvdplayer/DVDCodecs/Video/DXVA.cpp +++ b/xbmc/cores/dvdplayer/DVDCodecs/Video/DXVA.cpp @@ -505,7 +505,6 @@ CSurfaceContext::~CSurfaceContext() void CSurfaceContext::AddSurface(IDirect3DSurface9* surf) { CSingleLock lock(m_section); - surf->AddRef(); m_state[surf] = 0; m_freeSurfaces.push_back(surf); } |