From 07c51dd0fde9ab063a7b895f1e9c964523309fbb Mon Sep 17 00:00:00 2001 From: Jan Kiene Date: Fri, 5 Sep 2025 13:51:39 +0200 Subject: [PATCH 1/2] fix for #1989 - add missing allocation for EVS mdoe back. also adapt comment in IVAS deallocation path. --- lib_enc/ivas_init_enc_fx.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib_enc/ivas_init_enc_fx.c b/lib_enc/ivas_init_enc_fx.c index 5a3592ad2..46dfa0855 100644 --- a/lib_enc/ivas_init_enc_fx.c +++ b/lib_enc/ivas_init_enc_fx.c @@ -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; } -- GitLab From 96696397d30397e6abbdb02577e5c45dd4da2764 Mon Sep 17 00:00:00 2001 From: Jan Kiene Date: Fri, 5 Sep 2025 14:25:19 +0200 Subject: [PATCH 2/2] dummy commit to trigger CI -- GitLab