Changeset 29e6e23f4ac5cdec84f6e2b161c90f97129f6a76

Show
Ignore:
Timestamp:
05/05/08 11:31:16 (7 months ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1209979876 +0200
git-parent:

[f0f97b4eff1d9327c812546d23d8472f66374c89]

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

Do not leak the global libvlc pointer

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/misc/threads.c

    r9c87bdf r29e6e23  
    184184 
    185185    assert( i_initializations > 0 ); 
    186     if( i_initializations == 0 ) 
     186 
     187    if( i_initializations == 1 ) 
    187188        vlc_object_release( p_root ); 
    188189    i_initializations--;