Commit 357bcda7 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: fix a potential crash in audioDevice Menu

Close #9222
parent 43eb3232
...@@ -1550,7 +1550,7 @@ void VLCMenuBar::updateAudioDevice( intf_thread_t * p_intf, audio_output_t *p_ao ...@@ -1550,7 +1550,7 @@ void VLCMenuBar::updateAudioDevice( intf_thread_t * p_intf, audio_output_t *p_ao
char **ids, **names; char **ids, **names;
char *selected; char *selected;
if( !p_aout ) if( !p_aout || !current )
return; return;
current->clear(); current->clear();
......
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