Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge PR mumble-voip#4916: FIX(client): Memory leak in ALSA implement…
…ation The functions snd_card_get_name and snd_card_get_longname allocate a String for the caller that needs to be freed once it is no longer needed. This was not done in the current implementation and thus this was causing a memory leak. This commit fixes this by explicitly freeing the resources after usage. Fixes mumble-voip#4910 Ref: alsa-project.org/alsa-doc/alsa-lib/group___control.html#ga547dcead4a72f24db4a0f9f530f75228
- Loading branch information