Skip to content
Permalink
Browse files

[OverlayRenderer] Fix memory leak of subtitles 2

  • Loading branch information
popcornmix committed Sep 14, 2015
1 parent a26407a commit 843abc764e8028e93bea1ec2a3526dd483f47857
Showing with 3 additions and 0 deletions.
  1. +3 −0 xbmc/cores/VideoPlayer/VideoRenderers/OverlayRenderer.cpp
@@ -138,7 +138,10 @@ void CRenderer::ReleaseUnused()
break;
}
if (!found)
{
delete it->second;
it = m_textureCache.erase(it);
}
else
++it;
}

0 comments on commit 843abc7

Please sign in to comment.
You can’t perform that action at this time.