Commit e28b3e16 authored by sagnowski's avatar sagnowski
Browse files

Fix memleak

parent ed8d7567
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -160,6 +160,7 @@
#define FIX_XXX_ISM_SBA_ASAN
#define API_5MS
#define LIB_REND_API_5MS                            /* FhG: Adds 5ms framing capability to lib_rend */
#define LIB_REND_FIX_HRTFPARAMBIN_MEMLEAK
#define SGI_DBG

/* ################## End DEVELOPMENT switches ######################### */
+6 −0
Original line number Diff line number Diff line
@@ -2803,6 +2803,12 @@ static void freeDecoderDummy(
    {
        free( pDecDummy->hCombinedOrientationData );
    }
#ifdef LIB_REND_FIX_HRTFPARAMBIN_MEMLEAK
    if ( pDecDummy->hHrtfParambin != NULL )
    {
        free( pDecDummy->hHrtfParambin );
    }
#endif

    ivas_render_config_close( &pDecDummy->hRenderConfig );