Changeset 0c7849a6a0e9adc04c539df6716329bd9996a56f

Show
Ignore:
Timestamp:
01/04/08 22:13:46 (7 months ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1207080826 +0200
git-parent:

[a3ee25ff101492092d75c2e79e1cd0c84949d278]

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

Fix media library reference counting

Please TEST your changes before pushing
At least, READ the code instead of modifying it blindly

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/playlist/engine.c

    r800b605 r0c7849a  
    399399static void ML_Decref( playlist_item_t *p_node ) 
    400400{ 
     401    vlc_gc_decref( p_node->p_input ); 
     402 
    401403    int i; 
    402404    if( p_node->i_children > 0 ) 
     
    483485    } 
    484486 
     487    vlc_gc_incref( p_playlist->p_ml_category->p_input ); 
    485488    playlist_MLDump( p_playlist ); 
    486489    /* We don't need the media library anymore */