Commit 37d0951e authored by Simon Morlat's avatar Simon Morlat
Browse files

fix memory leak in alsa_detect

parent 5feed435
...@@ -730,7 +730,7 @@ static void alsa_card_detect(MSSndCardManager *m){ ...@@ -730,7 +730,7 @@ static void alsa_card_detect(MSSndCardManager *m){
atexit((void(*)(void))snd_config_update_free_global); atexit((void(*)(void))snd_config_update_free_global);
for (i=0; i<device_count; i++) { for (i=0; i<hint_device_count; i++) {
ms_free(plug_names[i]); ms_free(plug_names[i]);
ms_free(device_names[i]); ms_free(device_names[i]);
ms_free(card_names[i]); ms_free(card_names[i]);
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