diff --git a/apps/decoder.c b/apps/decoder.c index 320b309096dea1c54ea2b08482a9dff047e8a862..efe6c53343b1599f29a3a9dddbcc5aecdf9a947c 100644 --- a/apps/decoder.c +++ b/apps/decoder.c @@ -736,6 +736,13 @@ cleanup: } } +#ifdef FIX_1990_SANITIZER_IN_REVERB_LOAD + /* This free differs from float version and is done always. This should be safe to do even though we leave a return + * value as not handled. This is needed as HRTF statistics from ROM are currently converted from float values. */ + IVAS_DEC_GetHrtfStatisticsHandle( hIvasDec, &hHrtfStatistics ); + destroy_hrtf_statistics( hHrtfStatistics ); +#endif + IVAS_DEC_Close( &hIvasDec ); CustomLsReader_close( &hLsCustomReader ); hrtfFileReader_close( &hrtfReader ); diff --git a/lib_com/options.h b/lib_com/options.h index 1cb0ac3e3de09537aa555ce1b8a7e775a24bb72b..fad4b499e8746ffa9cea14ea8de5f4f90e109f7f 100644 --- a/lib_com/options.h +++ b/lib_com/options.h @@ -87,6 +87,8 @@ #define FIX_1987_CRASH_OMASA_ENERGY /* FhG: Replace cldfbAnalysis_ts_fx_fix_q() with cldfbAnalysis_ts_fx_var_q() to avoid assertion error */ #define FIX_1985_SBA_714_HF_LOSS /* Dlb: Fix for issue 1985, improved dirac ref pow precision*/ #define FIX_1819_EIGENVALUE_ERROR /* FhG: Workaround for zero eigenvalue: replace with epsilon if det != 0*/ +#define FIX_1990_SANITIZER_IN_REVERB_LOAD /* Nokia: Fix issue part of issue 1990 by introducing missing free of structure. */ + /* #################### Start BASOP porting switches ############################ */ #define NONBE_1244_FIX_SWB_BWE_MEMORY /* VA: issue 1244: fix to SWB BWE memory in case of switching from FB coding - pending a review by Huawei */