Changeset 7ca4e3eb624251feb1f97cfc25104cce473e04a0

Show
Ignore:
Timestamp:
02/08/08 05:24:36 (4 months ago)
Author:
Pierre d'Herbemont <pdherbemont@videolan.org>
git-committer:
Pierre d'Herbemont <pdherbemont@videolan.org> 1217647476 +0200
git-parent:

[875cd3dde62952d9fd9f3ec684a87fd5ea0732c6]

git-author:
Pierre d'Herbemont <pdherbemont@videolan.org> 1217647476 +0200
Message:

playlist: Make sure we don't pl_Release(p_playlist).

In those case the pl_* API doesn't seems convienent/well used.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/gui/beos/InterfaceWindow.cpp

    red34445 r7ca4e3e  
    355355    if( p_playlist ) 
    356356    { 
    357         pl_Release( p_playlist ); 
     357        vlc_object_release( p_playlist ); 
    358358    } 
    359359#if 0 
  • modules/gui/wxwidgets/dialogs/playlist.cpp

    rd057b0d r7ca4e3e  
    425425    var_DelCallback( p_playlist, "item-append", ItemAppended, this ); 
    426426    var_DelCallback( p_playlist, "item-deleted", ItemDeleted, this ); 
    427     pl_Release( p_playlist ); 
     427    vlc_object_release( p_playlist ); 
    428428} 
    429429 
  • modules/gui/wxwidgets/playlist_manager.cpp

    ra2174f0 r7ca4e3e  
    188188    var_DelCallback( p_playlist, "item-append", ItemAppended, this ); 
    189189    var_DelCallback( p_playlist, "item-deleted", ItemDeleted, this ); 
    190     pl_Release( p_playlist ); 
     190    vlc_object_release( p_playlist ); 
    191191} 
    192192 
  • modules/misc/lua/libs/playlist.c

    r858fa11 r7ca4e3e  
    5757void vlclua_release_playlist_internal( playlist_t *p_playlist ) 
    5858{ 
    59     pl_Release( p_playlist ); 
     59    vlc_object_release( p_playlist ); 
    6060} 
    6161