[codec,dsp] fix FDK-AAC memory leak
This commit is contained in:
parent
b350b0039e
commit
ce2605fad2
@ -1183,6 +1183,12 @@ fail:
|
|||||||
|
|
||||||
void freerdp_dsp_context_free(FREERDP_DSP_CONTEXT* context)
|
void freerdp_dsp_context_free(FREERDP_DSP_CONTEXT* context)
|
||||||
{
|
{
|
||||||
|
#if defined(WITH_FDK_AAC)
|
||||||
|
FREERDP_DSP_COMMON_CONTEXT* ctx = (FREERDP_DSP_COMMON_CONTEXT*)context;
|
||||||
|
WINPR_ASSERT(ctx);
|
||||||
|
fdk_aac_dsp_uninit(ctx);
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(WITH_DSP_FFMPEG)
|
#if defined(WITH_DSP_FFMPEG)
|
||||||
freerdp_dsp_ffmpeg_context_free(context);
|
freerdp_dsp_ffmpeg_context_free(context);
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user