Commit 07c51dd0 authored by Jan Kiene's avatar Jan Kiene
Browse files

fix for #1989 - add missing allocation for EVS mdoe back.

also adapt comment in IVAS deallocation path.
parent df97ba07
Loading
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -1092,7 +1092,7 @@ void destroy_core_enc_fx(

    IF( hCoreCoder->hVAD_CLDFB != NULL )
    {
        /* This is not required as we are not allocating memory dynamically */
        /* This is not required as this is only allocated in EVS mode */
        // free( hCoreCoder->hVAD_CLDFB );
        hCoreCoder->hVAD_CLDFB = NULL;
    }
@@ -1244,8 +1244,7 @@ void destroy_evs_core_enc_fx(

    IF( hCoreCoder->hVAD_CLDFB != NULL )
    {
        /* This is not required as we are not allocating memory dynamically */
        // free( hCoreCoder->hVAD_CLDFB );
        free( hCoreCoder->hVAD_CLDFB );
        hCoreCoder->hVAD_CLDFB = NULL;
    }