Commit 86bd9237 authored by vaclav's avatar vaclav
Browse files

fix to deallocate ISAR handle

parent 9e490750
Loading
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -1624,7 +1624,7 @@ void ivas_dirac_dec_render(

#ifdef FIX_1319_STACK_SBA_DECODER
/*-------------------------------------------------------------------------
 * Local functions to Perform binaural rendering with optimized stack
 * Local functions to perform binaural rendering with optimized stack
 *------------------------------------------------------------------------*/

static void binRenderer_split(
@@ -1709,11 +1709,12 @@ void ivas_dirac_dec_render_sf(
    const int16_t nchan_transport, /* i  : number of transport channels                            */
#ifdef FIX_1319_STACK_SBA_DECODER
    float *pppQMfFrame_ts_re[HOA3_CHANNELS + MAX_NUM_OBJECTS][CLDFB_NO_COL_MAX],
    float *pppQMfFrame_ts_im[HOA3_CHANNELS + MAX_NUM_OBJECTS][CLDFB_NO_COL_MAX] )
    float *pppQMfFrame_ts_im[HOA3_CHANNELS + MAX_NUM_OBJECTS][CLDFB_NO_COL_MAX]
#else
    float *pppQMfFrame_ts_re[IVAS_MAX_FB_MIXER_IN_CH][CLDFB_NO_COL_MAX],
    float *pppQMfFrame_ts_im[IVAS_MAX_FB_MIXER_IN_CH][CLDFB_NO_COL_MAX] )
    float *pppQMfFrame_ts_im[IVAS_MAX_FB_MIXER_IN_CH][CLDFB_NO_COL_MAX]
#endif
)
{
    int16_t i, ch, idx_in, idx_lfe;
    DIRAC_DEC_HANDLE hDirAC;
+5 −0
Original line number Diff line number Diff line
@@ -4806,6 +4806,11 @@ static void ivas_destroy_handle_isar(
            free( ( *hSplitBinRend )->hCldfbDataOut );
            ( *hSplitBinRend )->hCldfbDataOut = NULL;
        }
#ifdef FIX_1319_STACK_SBA_DECODER

        free_( ( *hSplitBinRend ) );
        ( *hSplitBinRend ) = NULL;
#endif
    }

    return;