mirror of https://github.com/FreeRDP/FreeRDP
Fixed double free of wave buffer.
This commit is contained in:
parent
264941db75
commit
64454faf71
|
@ -444,8 +444,6 @@ static void rdpsnd_recv_wave_pdu(rdpsndPlugin* rdpsnd, wStream* s)
|
|||
wave->wLocalTimeB = wave->wLocalTimeA + wave->wAudioLength + TIME_DELAY_MS;
|
||||
rdpsnd->device->WaveConfirm(rdpsnd->device, wave);
|
||||
}
|
||||
else
|
||||
free(wave);
|
||||
}
|
||||
|
||||
static void rdpsnd_recv_close_pdu(rdpsndPlugin* rdpsnd)
|
||||
|
|
Loading…
Reference in New Issue