Fixed memory leak with audio formats.
This commit is contained in:
parent
e5d60370b4
commit
3920c570dd
@ -1197,7 +1197,7 @@ static void rdpsnd_virtual_channel_event_terminated(rdpsndPlugin* rdpsnd)
|
||||
{
|
||||
if (rdpsnd)
|
||||
{
|
||||
audio_format_free(rdpsnd->fixed_format);
|
||||
audio_formats_free(rdpsnd->fixed_format, 1);
|
||||
free(rdpsnd->subsystem);
|
||||
free(rdpsnd->device_name);
|
||||
CloseHandle(rdpsnd->stopEvent);
|
||||
|
Loading…
Reference in New Issue
Block a user