Free gsmBuffer on channel close.

This commit is contained in:
Armin Novak 2018-02-19 14:03:49 +01:00
parent 3b67190d17
commit 6623927fe4

View File

@ -369,6 +369,10 @@ static void rdpsnd_pulse_free(rdpsndDevicePlugin* device)
pulse->mainloop = NULL;
}
#ifdef WITH_GSM
Stream_Free(pulse->gsmBuffer, TRUE);
#endif
free(pulse->device_name);
freerdp_dsp_context_free(pulse->dsp_context);
free(pulse);