Commit 3d84027e authored by SCHUGM's avatar SCHUGM
Browse files

fix memory leak for paramupmix when switching mc bitrates

parent 1c663132
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -168,6 +168,7 @@
#define FIX_718_JBM_MD_UDPATE                           /* Fhg: fix issue #718, wrong setting of the update flag in the TD obj renderer in the JBM path */
#define FIX_719_CRASH_IN_CLEANUP                        /* VA: issue 719: fix Decoder crash after call to goto to cleanup */

#define FIX_722_MEMORY_LEAK_IN_PARAMUPMIX

/* ################## End BE DEVELOPMENT switches ######################### */

+6 −0
Original line number Diff line number Diff line
@@ -938,6 +938,12 @@ static ivas_error ivas_mc_dec_reconfig(
            /* LFE handle */
            ivas_lfe_dec_close( &( st_ivas->hLFE ) );
        }
#ifdef FIX_722_MEMORY_LEAK_IN_PARAMUPMIX
        else if ( last_mc_mode == MC_MODE_PARAMUPMIX )
        {
            ivas_mc_paramupmix_dec_close( &( st_ivas->hMCParamUpmix ) );
        }
#endif
    }
    else if ( st_ivas->mc_mode == MC_MODE_MCMASA )
    {