Commit 21c04e32 authored by Tapani Pihlajakuja's avatar Tapani Pihlajakuja
Browse files

Reorder a bit to make flow logical.

parent f3c5c278
Loading
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -423,12 +423,6 @@ void ivas_mcmasa_ana_close(
            ( *hMcMasa )->direction_vector_m_fx[i][j] = NULL;
        }

        FOR( j = 0; j < DIRAC_NO_COL_AVG_DIFF; j++ )
        {
            free( ( *hMcMasa )->buffer_intensity_real_fx[i][j] );
            ( *hMcMasa )->buffer_intensity_real_fx[i][j] = NULL;
        }

        free( ( *hMcMasa )->direction_vector_m_fx[i] );
        ( *hMcMasa )->direction_vector_m_fx[i] = NULL;
#ifdef FIX_BASOP_2333_MCMASA_ANA_MEMORY_LEAK
@@ -442,6 +436,12 @@ void ivas_mcmasa_ana_close(
        free( ( *hMcMasa )->direction_vector_e[i] );
        ( *hMcMasa )->direction_vector_e[i] = NULL;
#endif

        FOR( j = 0; j < DIRAC_NO_COL_AVG_DIFF; j++ )
        {
            free( ( *hMcMasa )->buffer_intensity_real_fx[i][j] );
            ( *hMcMasa )->buffer_intensity_real_fx[i][j] = NULL;
        }
    }

    FOR( j = 0; j < DIRAC_NO_COL_AVG_DIFF; j++ )