Commit f6f0e8ef authored by zorglub's avatar zorglub

Fix no

parent c854d8e8
......@@ -46,7 +46,7 @@ BEGIN_EVENT_TABLE( InteractionDialog, wxFrame )
EVT_BUTTON( wxID_OK, InteractionDialog::OnOkYes )
EVT_BUTTON( wxID_YES, InteractionDialog::OnOkYes )
EVT_BUTTON( wxID_CANCEL, InteractionDialog::OnCancel)
EVT_BUTTON( No_Event, InteractionDialog::OnNo )
EVT_BUTTON( wxID_NO, InteractionDialog::OnNo )
EVT_BUTTON( wxID_CLEAR, InteractionDialog::OnClear )
EVT_CHECKBOX( NoShow_Event, InteractionDialog::OnNoShow )
END_EVENT_TABLE()
......
......@@ -376,7 +376,11 @@ void __intf_UserProgressUpdate( vlc_object_t *p_this, int i_id,
vlc_mutex_lock( &p_interaction->object_lock );
p_dialog = intf_InteractionGetById( p_this, i_id );
if( !p_dialog ) return;
if( !p_dialog )
{
vlc_mutex_unlock( &p_intearction->object_lock ) ;
return;
}
if( p_dialog->pp_widgets[0]->psz_text )
free( p_dialog->pp_widgets[0]->psz_text );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment