Re: [PATCH] linux-user: replace calloc() with g_new0()

2024-04-06 Thread Richard Henderson
On 3/17/24 07:17, Nguyen Dinh Phi wrote: Use glib allocation as recommended by the coding convention Signed-off-by: Nguyen Dinh Phi --- linux-user/main.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/linux-user/main.c b/linux-user/main.c index 9277df2e9d..149e35432

Re: [PATCH] linux-user: replace calloc() with g_new0()

2024-03-17 Thread Alex Bennée
Nguyen Dinh Phi writes: > Use glib allocation as recommended by the coding convention > > Signed-off-by: Nguyen Dinh Phi > --- > linux-user/main.c | 6 +- > 1 file changed, 1 insertion(+), 5 deletions(-) > > diff --git a/linux-user/main.c b/linux-user/main.c > index 9277df2e9d..149e35432e 1