Loading apps/decoder.c +5 −0 Original line number Diff line number Diff line Loading @@ -538,6 +538,11 @@ cleanup: IVAS_DEC_HRTF_HANDLE hHrtfTD; IVAS_DEC_GetHrtfHandle( hIvasDec, &hHrtfTD ); dealloc_HRTF_binary( hHrtfTD ); #ifdef FIX_MEMORY_COUNTING_HRTF_BINARY_FILE IVAS_DEC_HRTF_CREND_HANDLE hSetOfHRTF; IVAS_DEC_GetHrtfCRendHandle( hIvasDec, &hSetOfHRTF ); destroy_SetOfHRTF( hSetOfHRTF ); #endif } IVAS_DEC_Close( &hIvasDec ); CustomLsReader_close( &hLsCustomReader ); Loading lib_rend/ivas_hrtf.c +3 −4 Original line number Diff line number Diff line Loading @@ -40,9 +40,6 @@ #include "ivas_rom_TdBinauralRenderer.h" #include "ivas_error.h" #include "wmc_auto.h" #ifdef FIX_MEMORY_COUNTING_HRTF_BINARY_FILE #include "hrtf_file_reader.h" #endif /*-------------------------------------------------------------------* * Local constants Loading Loading @@ -303,7 +300,9 @@ void ivas_HRTF_CRend_binary_close( return; } destroy_SetOfHRTF( *hSetOfHRTF ); #ifndef FIX_MEMORY_COUNTING_HRTF_BINARY_FILE destroy_SetOfHRTF( hSetOfHRTF ); #endif free( *hSetOfHRTF ); *hSetOfHRTF = NULL; Loading Loading
apps/decoder.c +5 −0 Original line number Diff line number Diff line Loading @@ -538,6 +538,11 @@ cleanup: IVAS_DEC_HRTF_HANDLE hHrtfTD; IVAS_DEC_GetHrtfHandle( hIvasDec, &hHrtfTD ); dealloc_HRTF_binary( hHrtfTD ); #ifdef FIX_MEMORY_COUNTING_HRTF_BINARY_FILE IVAS_DEC_HRTF_CREND_HANDLE hSetOfHRTF; IVAS_DEC_GetHrtfCRendHandle( hIvasDec, &hSetOfHRTF ); destroy_SetOfHRTF( hSetOfHRTF ); #endif } IVAS_DEC_Close( &hIvasDec ); CustomLsReader_close( &hLsCustomReader ); Loading
lib_rend/ivas_hrtf.c +3 −4 Original line number Diff line number Diff line Loading @@ -40,9 +40,6 @@ #include "ivas_rom_TdBinauralRenderer.h" #include "ivas_error.h" #include "wmc_auto.h" #ifdef FIX_MEMORY_COUNTING_HRTF_BINARY_FILE #include "hrtf_file_reader.h" #endif /*-------------------------------------------------------------------* * Local constants Loading Loading @@ -303,7 +300,9 @@ void ivas_HRTF_CRend_binary_close( return; } destroy_SetOfHRTF( *hSetOfHRTF ); #ifndef FIX_MEMORY_COUNTING_HRTF_BINARY_FILE destroy_SetOfHRTF( hSetOfHRTF ); #endif free( *hSetOfHRTF ); *hSetOfHRTF = NULL; Loading