Merge pull request #510 from mackron/patch-2

Fix an infinite loop in ALSA backend of mini_al.
This commit is contained in:
Ray 2018-03-20 09:53:08 +01:00 committed by GitHub
commit 22c8ea76aa
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;