mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-03-06 14:27:43 +00:00
Fixed a memory leak in VolumeControl.
This commit is contained in:
parent
bd095a719a
commit
ea72cf509b
|
@ -220,6 +220,7 @@ void VolumeControl::deinit()
|
|||
snd_mixer_detach(mixerHandle, mixerCard.c_str());
|
||||
snd_mixer_free(mixerHandle);
|
||||
snd_mixer_close(mixerHandle);
|
||||
snd_config_update_free_global();
|
||||
mixerHandle = nullptr;
|
||||
mixerElem = nullptr;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue