Commit 60755cf3 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont Committed by Rémi Denis-Courmont

libvlc: missing NULL terminator (fixes #13655)

(cherry picked from commit 9d30c4c56a7bb37efc1121678b87e9595dd81675)
parent 42903feb
......@@ -146,7 +146,7 @@ libvlc_audio_output_device_enum( libvlc_media_player_t *mp )
if( aout == NULL )
return NULL;
libvlc_audio_output_device_t *list = NULL, **pp = &list;
libvlc_audio_output_device_t *list, **pp = &list;
char **values, **texts;
int n = aout_DevicesList( aout, &values, &texts );
......@@ -173,6 +173,7 @@ libvlc_audio_output_device_enum( libvlc_media_player_t *mp )
free( texts );
free( values );
err:
*pp = NULL;
return list;
}
......
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