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

lib: fix object reference leak, fix test suite

parent a780f484
...@@ -150,6 +150,7 @@ libvlc_audio_output_device_enum( libvlc_media_player_t *mp ) ...@@ -150,6 +150,7 @@ libvlc_audio_output_device_enum( libvlc_media_player_t *mp )
char **values, **texts; char **values, **texts;
int n = aout_DevicesList( aout, &values, &texts ); int n = aout_DevicesList( aout, &values, &texts );
vlc_object_release( aout );
if( n < 0 ) if( n < 0 )
goto err; goto err;
......
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