Fix an infinite loop in ALSA backend of mini_al.

This commit is contained in:
David Reid 2018-03-20 18:39:21 +10:00 committed by GitHub
parent deffad1701
commit a8e2c7de9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6412,6 +6412,7 @@ static mal_result mal_device_init__alsa(mal_context* pContext, mal_device_type t
free(NAME); free(NAME);
free(DESC); free(DESC);
free(IOID); free(IOID);
ppNextDeviceHint += 1;
if (foundDevice) { if (foundDevice) {
break; break;