mirror of
https://github.com/videolan/vlc.git
synced 2024-12-02 22:33:27 +08:00
lib: fix object reference leak, fix test suite
This commit is contained in:
parent
a780f4841e
commit
b9b9d7fe3e
@ -150,6 +150,7 @@ libvlc_audio_output_device_enum( libvlc_media_player_t *mp )
|
||||
char **values, **texts;
|
||||
|
||||
int n = aout_DevicesList( aout, &values, &texts );
|
||||
vlc_object_release( aout );
|
||||
if( n < 0 )
|
||||
goto err;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user