[x265] [PATCH 1/3] Memory Leak Fix: Part 1

Pavan Tarun Chakka Venkata pavan.tarun at multicorewareinc.com
Mon Nov 11 07:37:25 UTC 2024


Hi,
Thanks for the suggestions
Min Chen has made these changes in the next patch.

Thanks,
Pavan Tarun

On Sun, Nov 10, 2024 at 11:10 PM Andrey Semashev <andrey.semashev at gmail.com>
wrote:

> On 11/10/24 13:50, Jean-Baptiste Kempf wrote:
> > On Sun, 10 Nov 2024, at 06:39, Pavan Tarun Chakka Venkata wrote:
> >
> >>          if (m_latestParam->scalingLists != m_param->scalingLists)
> >>              free((char*)m_latestParam->scalingLists);
> >> +        if (m_latestParam->numaPools != m_param->numaPools)
> >> +            free((char*)m_latestParam->numaPools);
> >
> > As above.
>
> These two are not null checks.
>
> The type casts are superfluous, though.
>
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20241111/7a1d2104/attachment.htm>


More information about the x265-devel mailing list