Commit d40ed931 authored by multrus's avatar multrus
Browse files

Merge branch '1989-asan-memory-leak-in-ltv-sanitizer-test-for-evs-encoder' into 'main'

Resolve "ASAN: Memory leak in LTV sanitizer test for EVS encoder"

Closes #1989

See merge request !2210
parents edcd7b2a 96696397
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;
    }