Commit 1493046d authored by emerit's avatar emerit
Browse files

fix windows build

parent 6e4782da
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -1289,12 +1289,8 @@ void destroy_td_hrtf(
            free( ( *hHrtf )->ModelParams.azimBsShape_dyn[i] );
        }
        free( ( *hHrtf )->ModelParams.azimBsShape_dyn );

#ifdef FIX_TDREND_HRTF_FILE_FORMAT
        free( ( *hHrtf )->ModelParams.azimBsShape ); /* void* cast needed to please both gcc and Visual studio compilers. Deallocating const float** should be fine and gcc agrees, but Visual studio complains. */
#else
        free( (void *) ( *hHrtf )->ModelParams.azimBsShape ); /* void* cast needed to please both gcc and Visual studio compilers. Deallocating const float** should be fine and gcc agrees, but Visual studio complains. */
#endif

        for ( i = 0; i < ( *hHrtf )->ModelParams.elevDim3; i++ )
        {
            free( ( *hHrtf )->ModelParams.azimKSeq[i] );