Commit 8a5f643a authored by emerit's avatar emerit
Browse files

fix asan error and clang format

parent 39902e01
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2027,6 +2027,7 @@ ivas_error create_SetOfHRTF_from_binary(
    {
        if ( read_hrtf_binary_header( &hrtf_header, f_hrtf ) != IVAS_ERR_OK )
        {
            free( hrtf_data );
            return IVAS_ERROR( IVAS_ERR_FAILED_ALLOC, "HRTF binary file not compliant (number of HRTF)" );
        }

@@ -2071,6 +2072,7 @@ ivas_error create_SetOfHRTF_from_binary(

        if ( fread( hrtf_data, 1, hrtf_header.data_size, f_hrtf ) != hrtf_header.data_size )
        {
            free( hrtf_data );
            return IVAS_ERROR( IVAS_ERR_FAILED_FILE_READ, "Error in HRTF file reading" );
        }

@@ -2079,6 +2081,7 @@ ivas_error create_SetOfHRTF_from_binary(
            /* Create the HRTF reading the raw data from the binary file */
            if ( ( create_HRTF_from_rawdata( hHRTF, hrtf_data ) ) != IVAS_ERR_OK )
            {
                free( hrtf_data );
                return IVAS_ERROR( IVAS_ERR_INTERNAL_FATAL, "Could not create HRTF from binary file" );
            }
        }
+1 −1

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.