Changeset 587910d68cda330158f4c00cad82eac7c613666a

Show
Ignore:
Timestamp:
10/05/08 00:16:28 (5 months ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1210371388 +0200
git-parent:

[e0321a0012f71020597f303d8d417ad23d88d011]

git-author:
Rafaël Carré <funman@videolan.org> 1210371388 +0200
Message:

Revert "Fix memleak in mpga demuxer"

This reverts commit 9a90c961a6d1c670a9e282c99ea8da0ba7688eab.
This introduces double free
I tend to prefer a memleak as a race condition rather than a crash

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/demux/mpeg/mpga.c

    r9a90c96 r587910d  
    274274        p_sys->b_start = false; 
    275275        p_block_in = p_sys->p_block_in; 
     276        p_sys->p_block_in = NULL; 
    276277        p_block_out = p_sys->p_block_out; 
     278        p_sys->p_block_out = NULL; 
    277279    } 
    278280    else 
     
    326328    DESTROY_PACKETIZER( p_sys->p_packetizer ); 
    327329    if( p_sys->p_block_out ) block_Release( p_sys->p_block_out ); 
    328     if( p_sys->p_block_in ) block_Release( p_sys->p_block_in ); 
    329330 
    330331    free( p_sys );