Fixed resource cleanup double free.

This commit is contained in:
Armin Novak 2015-08-28 10:51:27 +02:00
parent a700d1d02d
commit f8295a1517

View File

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