lib: fix object reference leak, fix test suite

This commit is contained in:
Rémi Denis-Courmont 2014-06-08 20:03:44 +03:00
parent a780f4841e
commit b9b9d7fe3e

View File

@ -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;