Commit 3b500614 authored by emerit's avatar emerit
Browse files

fix merge

parent fc3f1673
Loading
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -2142,6 +2142,9 @@ void destroy_hrtf_statistics(
    IVAS_DEC_HRTF_STATISTICS_HANDLE *hHrtfStatistics /* i/o: HRTF statistics handle  */
)
{
#ifdef FIX_2249_MEMORY_LEAK_IN_SBA
    ivas_HRTF_statistics_destroy_fx( hHrtfStatistics );
#else
    if ( ( hHrtfStatistics != NULL ) && ( *hHrtfStatistics != NULL ) && ( ( *hHrtfStatistics )->fromROM == FALSE ) )
    {
        if ( ( *hHrtfStatistics )->average_energy_l_dyn != NULL )
@@ -2157,7 +2160,7 @@ void destroy_hrtf_statistics(
            free( ( *hHrtfStatistics )->inter_aural_coherence_dyn );
        }
    }

#endif
    ivas_HRTF_statistics_close_fx( hHrtfStatistics );

    return;