Loading apps/renderer.c +2 −0 Original line number Diff line number Diff line Loading @@ -2082,8 +2082,10 @@ cleanup: RotationFileReader_close( &referenceRotReader ); Vector3PairFileReader_close( &referenceVectorReader ); #ifndef FIX_2249_MEMORY_LEAK_IN_SBA destroy_td_hrtf( hHrtfTD ); destroy_hrtf_statistics( hHrtfStatistics ); #endif IVAS_REND_Close( &hIvasRend ); IsmPositionProvider_close( positionProvider ); RenderConfigReader_close( &renderConfigReader ); Loading lib_dec/ivas_init_dec.c +4 −0 Original line number Diff line number Diff line Loading @@ -3023,7 +3023,11 @@ void ivas_destroy_dec( ivas_HRTF_parambin_binary_close( &st_ivas->hHrtfParambin ); /* HRTF statistics */ #ifdef FIX_2249_MEMORY_LEAK_IN_SBA ivas_HRTF_statistics_binary_close( &st_ivas->hHrtfStatistics ); #else ivas_HRTF_statistics_close( &st_ivas->hHrtfStatistics ); #endif /* Config. Renderer */ ivas_render_config_close( &( st_ivas->hRenderConfig ) ); Loading lib_rend/lib_rend.c +6 −3 Original line number Diff line number Diff line Loading @@ -3268,11 +3268,14 @@ ivas_error IVAS_REND_Open( if ( outConfig == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB ) { #ifdef FIX_2249_MEMORY_LEAK_IN_SBA if ( hIvasRend->hHrtfs.hHrtfStatistics == NULL ) { /* Allocate HRTF statistics */ if ( ( error = ivas_HRTF_statistics_binary_open( &( hIvasRend->hHrtfs.hHrtfStatistics ) ) ) != IVAS_ERR_OK ) { return error; } } /* Init HRTF statistics */ if ( ( error = ivas_HRTF_statistics_init_from_rom( &( hIvasRend->hHrtfs.hHrtfStatistics ), hIvasRend->sampleRateOut ) ) != IVAS_ERR_OK ) Loading Loading
apps/renderer.c +2 −0 Original line number Diff line number Diff line Loading @@ -2082,8 +2082,10 @@ cleanup: RotationFileReader_close( &referenceRotReader ); Vector3PairFileReader_close( &referenceVectorReader ); #ifndef FIX_2249_MEMORY_LEAK_IN_SBA destroy_td_hrtf( hHrtfTD ); destroy_hrtf_statistics( hHrtfStatistics ); #endif IVAS_REND_Close( &hIvasRend ); IsmPositionProvider_close( positionProvider ); RenderConfigReader_close( &renderConfigReader ); Loading
lib_dec/ivas_init_dec.c +4 −0 Original line number Diff line number Diff line Loading @@ -3023,7 +3023,11 @@ void ivas_destroy_dec( ivas_HRTF_parambin_binary_close( &st_ivas->hHrtfParambin ); /* HRTF statistics */ #ifdef FIX_2249_MEMORY_LEAK_IN_SBA ivas_HRTF_statistics_binary_close( &st_ivas->hHrtfStatistics ); #else ivas_HRTF_statistics_close( &st_ivas->hHrtfStatistics ); #endif /* Config. Renderer */ ivas_render_config_close( &( st_ivas->hRenderConfig ) ); Loading
lib_rend/lib_rend.c +6 −3 Original line number Diff line number Diff line Loading @@ -3268,11 +3268,14 @@ ivas_error IVAS_REND_Open( if ( outConfig == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB ) { #ifdef FIX_2249_MEMORY_LEAK_IN_SBA if ( hIvasRend->hHrtfs.hHrtfStatistics == NULL ) { /* Allocate HRTF statistics */ if ( ( error = ivas_HRTF_statistics_binary_open( &( hIvasRend->hHrtfs.hHrtfStatistics ) ) ) != IVAS_ERR_OK ) { return error; } } /* Init HRTF statistics */ if ( ( error = ivas_HRTF_statistics_init_from_rom( &( hIvasRend->hHrtfs.hHrtfStatistics ), hIvasRend->sampleRateOut ) ) != IVAS_ERR_OK ) Loading