[vlmc-devel] VLCVmemRenderer: Fix leak
Hugo Beauzée-Luyssen
git at videolan.org
Mon Feb 24 20:09:40 CET 2014
vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Feb 24 14:29:01 2014 +0200| [d4ccc8f6a669355e4c2db7e5ba2fad8bea746e30] | committer: Hugo Beauzée-Luyssen
VLCVmemRenderer: Fix leak
> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=d4ccc8f6a669355e4c2db7e5ba2fad8bea746e30
---
src/Backend/VLC/VLCVmemRenderer.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/Backend/VLC/VLCVmemRenderer.cpp b/src/Backend/VLC/VLCVmemRenderer.cpp
index c56c85a..cb7dc18 100644
--- a/src/Backend/VLC/VLCVmemRenderer.cpp
+++ b/src/Backend/VLC/VLCVmemRenderer.cpp
@@ -45,6 +45,7 @@ VmemRenderer::~VmemRenderer()
* destroyed in a potentially locked state, while the vmem tries to lock/unlock.
*/
stop();
+ delete m_snapshot;
}
LibVLCpp::MediaPlayer*
More information about the Vlmc-devel
mailing list