Pushed to master and cherry-picked to Release_3.4. On Mon, Jul 27, 2020 at 7:28 PM Aruna Matheswaran < ar...@multicorewareinc.com> wrote:
> From d419c7152ada818a61697622b8527549e2a67161 Mon Sep 17 00:00:00 2001 > From: Aruna <ar...@multicorewareinc.com> > Date: Mon, 27 Jul 2020 19:11:10 +0530 > Subject: [PATCH] abr-ladder: fix memleak in copyInfo() > > --- > source/abrEncApp.cpp | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/source/abrEncApp.cpp b/source/abrEncApp.cpp > index 4079fe3a2..fa62ebf63 100644 > --- a/source/abrEncApp.cpp > +++ b/source/abrEncApp.cpp > @@ -315,6 +315,7 @@ namespace X265_NS { > > x265_analysis_data *m_analysisInfo = > &m_parent->m_analysisBuffer[m_id][index]; > > + x265_free_analysis_data(m_param, m_analysisInfo); > memcpy(m_analysisInfo, src, sizeof(x265_analysis_data)); > x265_alloc_analysis_data(m_param, m_analysisInfo); > > -- > 2.20.1.windows.1 > > > -- > Regards, > *Aruna Matheswaran,* > Video Codec Engineer, > Media & AI analytics BU, > > > > -- Regards, *Aruna Matheswaran,* Video Codec Engineer, Media & AI analytics BU,
_______________________________________________ x265-devel mailing list x265-devel@videolan.org https://mailman.videolan.org/listinfo/x265-devel