Fixed double free of wave buffer.

This commit is contained in:
Armin Novak 2013-09-19 10:23:28 +02:00
parent 264941db75
commit 64454faf71
1 changed files with 0 additions and 2 deletions

View File

@ -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)