Fixed missing return in server_rdpsnd_get_formats

This commit is contained in:
Armin Novak 2018-10-17 16:17:41 +02:00
parent fbceb7c75a
commit e319ec5bd3

View File

@ -164,6 +164,7 @@ size_t server_rdpsnd_get_formats(AUDIO_FORMAT** dst_formats)
/* Set default audio formats. */
*dst_formats = supported_audio_formats;
return y;
fail:
audio_formats_free(supported_audio_formats, ARRAYSIZE(default_supported_audio_formats));