diff --git a/channels/rdpsnd/client/alsa/rdpsnd_alsa.c b/channels/rdpsnd/client/alsa/rdpsnd_alsa.c index 736105fe5..36f821440 100644 --- a/channels/rdpsnd/client/alsa/rdpsnd_alsa.c +++ b/channels/rdpsnd/client/alsa/rdpsnd_alsa.c @@ -722,7 +722,7 @@ UINT freerdp_rdpsnd_client_subsystem_entry(PFREERDP_RDPSND_DEVICE_ENTRY_POINTS p return CHANNEL_RC_OK; error_dsp_context: - free(alsa->device_name); + freerdp_dsp_context_free(alsa->dsp_context); error_strdup: free(alsa->device_name); error_parse_args: