Merge pull request #4937 from akallabeth/server_rdpsnd_get_formats

Fix Server rdpsnd get formats
This commit is contained in:
MartinHaimberger 2018-10-17 17:16:28 +02:00 committed by GitHub
commit 558a03f60c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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