[vlc-commits] chroma: cvpx: fix copy cache leak
    Thomas Guillem 
    git at videolan.org
       
    Wed Apr 18 13:42:16 CEST 2018
    
    
  
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Apr 18 13:37:08 2018 +0200| [8cd66d98c661fea3e4710f94c27fbd71c5290c3d] | committer: Thomas Guillem
chroma: cvpx: fix copy cache leak
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8cd66d98c661fea3e4710f94c27fbd71c5290c3d
---
 modules/video_chroma/cvpx.c | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/modules/video_chroma/cvpx.c b/modules/video_chroma/cvpx.c
index 1f001a04fe..c0aa0d66e1 100644
--- a/modules/video_chroma/cvpx.c
+++ b/modules/video_chroma/cvpx.c
@@ -228,6 +228,8 @@ static void Close(vlc_object_t *obj)
 
     if (p_sys->pool != NULL)
         CVPixelBufferPoolRelease(p_sys->pool);
+
+    CopyCleanCache(&p_sys->sw.cache);
     free(p_sys);
 }
 
    
    
More information about the vlc-commits
mailing list