[vlc-devel] commit: Revert "Fix memleak (should fix #1081)" (Jean-Baptiste Kempf )

git version control git at videolan.org
Mon Aug 25 16:02:09 CEST 2008


vlc | branch: 0.9-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Sun Aug 24 18:31:19 2008 -0700| [58b3ac35eee2eb8fc09cdaae3a9cb175892ee619] | committer: Christophe Mutricy 

Revert "Fix memleak (should fix #1081)"

This reverts commit 4774dc6c9f7b04b40f90e4edc9ad1a1f8d256f1d.
(cherry picked from commit 0caa385ca5cf3857c8e7f5fbdb386a324eb25e7f)

Signed-off-by: Christophe Mutricy <xtophe at videolan.org>

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

 modules/demux/mpeg/mpga.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/modules/demux/mpeg/mpga.c b/modules/demux/mpeg/mpga.c
index 70d5c88..3e45ce5 100644
--- a/modules/demux/mpeg/mpga.c
+++ b/modules/demux/mpeg/mpga.c
@@ -331,7 +331,6 @@ static void Close( vlc_object_t * p_this )
 
     DESTROY_PACKETIZER( p_sys->p_packetizer );
     if( p_sys->p_block_out ) block_Release( p_sys->p_block_out );
-    if( p_sys->p_block_in ) block_Release( p_sys->p_block_in );
 
     free( p_sys );
 }




More information about the vlc-devel mailing list