On Fri, 19 Jun 2026 at 09:10, Christian S. Lima
<[email protected]> wrote:
>
> Following the qemu coding style change malloc to g_new, the advantage
> are that g_new can catch multiplication overflowing size_t and allow
> catch more type errors because it returns the type itself.
>
> Signed-off-by: Christian S. Lima <[email protected]>
> ---
>  hw/audio/fmopl.c | 20 ++++++++++----------
>  1 file changed, 10 insertions(+), 10 deletions(-)


Hi; we already have somebody working on updating this
set of malloc/free calls:

https://lore.kernel.org/qemu-devel/[email protected]/

thanks
-- PMM

Reply via email to