mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
[channels,rdpsnd] fix memory leak
This commit is contained in:
@@ -1560,7 +1560,7 @@ static rdpsndPlugin* allocatePlugin(void)
|
||||
|
||||
fail:
|
||||
if (rdpsnd)
|
||||
audio_format_free(rdpsnd->fixed_format);
|
||||
audio_formats_free(rdpsnd->fixed_format, 1);
|
||||
free(rdpsnd);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user