Re: [PATCH] virtiofsd: Changed allocations of fuse_session to GLib's functions

2021-03-31 Thread Stefan Hajnoczi
On Wed, Mar 24, 2021 at 08:49:43AM +0200, Mahmoud Mandour wrote: > Replaced the allocation and deallocation of fuse_session structs > from calloc() and free() calls to g_try_new0() and g_free(). > > Signed-off-by: Mahmoud Mandour > --- > tools/virtiofsd/fuse_lowlevel.c | 6 +++--- > 1 file chang

[PATCH] virtiofsd: Changed allocations of fuse_session to GLib's functions

2021-03-23 Thread Mahmoud Mandour
Replaced the allocation and deallocation of fuse_session structs from calloc() and free() calls to g_try_new0() and g_free(). Signed-off-by: Mahmoud Mandour --- tools/virtiofsd/fuse_lowlevel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/virtiofsd/fuse_lowlevel