Changeset eb85f7afc2685c9973973a8d6c1a4530c6b77972

Show
Ignore:
Timestamp:
03/17/08 21:33:44 (4 months ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1205786024 +0100
git-parent:

[cd3ea880421919b66e627b4721d23e53989002bf]

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

Fix #1487

Don't use an object after releasing it

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/gui/qt4/input_manager.cpp

    rf00a8d3 reb85f7a  
    109109    { 
    110110        delCallbacks(); 
    111         vlc_object_release( p_input ); 
    112111        i_old_playing_status = END_S; 
    113  
    114112        i_input_id = 0; 
    115113        old_name   = ""; 
    116114        artUrl     = ""; 
    117         p_input    = NULL; 
    118115        emit positionUpdated( 0.0, 0 ,0 ); 
    119116        emit statusChanged( END_S ); 
     
    121118        emit artChanged( "" ); 
    122119        emit rateChanged( INPUT_RATE_DEFAULT ); 
     120        vlc_object_release( p_input ); 
     121        p_input = NULL; 
    123122    } 
    124123}