Re: [PATCH 6/8] tools/virtiofsd/buffer.c: replaced a calloc call with GLib's g_try_new0

2021-05-25 Thread Dr. David Alan Gilbert
* Mahmoud Mandour (ma.mando...@gmail.com) wrote: > Replaced a call to calloc() and its respective free() call > with GLib's g_try_new0() and g_free() calls. > > Signed-off-by: Mahmoud Mandour 6 & 7 queued (sorry for the delay) > --- > tools/virtiofsd/buffer.c | 4 ++-- > 1 file changed, 2 inse

Re: [PATCH 6/8] tools/virtiofsd/buffer.c: replaced a calloc call with GLib's g_try_new0

2021-03-15 Thread Stefan Hajnoczi
On Sun, Mar 14, 2021 at 05:23:22AM +0200, Mahmoud Mandour wrote: > Replaced a call to calloc() and its respective free() call > with GLib's g_try_new0() and g_free() calls. > > Signed-off-by: Mahmoud Mandour > --- > tools/virtiofsd/buffer.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletion

[PATCH 6/8] tools/virtiofsd/buffer.c: replaced a calloc call with GLib's g_try_new0

2021-03-13 Thread Mahmoud Mandour
Replaced a call to calloc() and its respective free() call with GLib's g_try_new0() and g_free() calls. Signed-off-by: Mahmoud Mandour --- tools/virtiofsd/buffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/virtiofsd/buffer.c b/tools/virtiofsd/buffer.c index 87