[vlc-devel] commit: picture_pool_Delete: memory leak ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Sep 2 18:27:18 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Sep  2 19:27:09 2009 +0300| [370f916785e99990fb57c58a4ed08ced32958515] | committer: Rémi Denis-Courmont 

picture_pool_Delete: memory leak

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=370f916785e99990fb57c58a4ed08ced32958515
---

 src/video_output/vout_pictures.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/video_output/vout_pictures.c b/src/video_output/vout_pictures.c
index 6d5da79..16119a9 100644
--- a/src/video_output/vout_pictures.c
+++ b/src/video_output/vout_pictures.c
@@ -1331,6 +1331,7 @@ void picture_pool_Delete( picture_pool_t *p_pool )
 
         free( p_release_sys );
     }
+    free( p_pool->pp_picture );
     free( p_pool );
 }
 




More information about the vlc-devel mailing list