Commit cf29c49e authored by Ghislain MARY's avatar Ghislain MARY

Fix memory leak with list of sound cards.

parent 81fe8504
......@@ -615,7 +615,7 @@ static void ms_wasapi_snd_card_detect(MSSndCardManager *m) {
ms_wasapi_snd_card_detect_with_data_flow(m, eCapture, &l);
ms_wasapi_snd_card_detect_with_data_flow(m, eRender, &l);
ms_snd_card_manager_prepend_cards(m, l);
ms_free(l);
ms_list_free(l);
#endif
}
......
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