Revert "Fix memleak (should fix #1081)"
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 25 Aug 2008 01:31:19 +0000 (18:31 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 25 Aug 2008 01:31:19 +0000 (18:31 -0700)
This reverts commit 4774dc6c9f7b04b40f90e4edc9ad1a1f8d256f1d.

modules/demux/mpeg/mpga.c

index 70d5c88..3e45ce5 100644 (file)
@@ -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 );
 
     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 );
 }
 
     free( p_sys );
 }