Commit 960a19c6 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Qt: fix leak

parent 4b83eeda
...@@ -1228,7 +1228,12 @@ void MainInputManager::notifyMute( bool mute ) ...@@ -1228,7 +1228,12 @@ void MainInputManager::notifyMute( bool mute )
void MainInputManager::menusUpdateAudio( const QString& data ) void MainInputManager::menusUpdateAudio( const QString& data )
{ {
aout_DeviceSet( getAout(), qtu(data) ); audio_output_t *aout = getAout();
if( aout != NULL )
{
aout_DeviceSet( aout, qtu(data) );
vlc_object_release( aout );
}
} }
static int PLItemAppended static int PLItemAppended
......
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