On Sun, 10 Nov 2024, at 06:39, Pavan Tarun Chakka Venkata wrote:
> -
> +            if(m_param->numaPools)    free((char*)m_param->numaPools);

Free(null) is a no-op, so you can drop the if part.

>          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.

jb
-- 
Jean-Baptiste Kempf -  President
+33 672 704 734
https://jbkempf.com/

_______________________________________________
x265-devel mailing list
x265-devel@videolan.org
https://mailman.videolan.org/listinfo/x265-devel

Reply via email to