On Fri, Mar 19, 2021 at 03:25:26PM +0200, Mahmoud Mandour wrote: > Changed the allocations of some local variables to GLib's allocation > functions, such as g_try_malloc0(), and annotated those variables > as g_autofree. Subsequently, I was able to remove the calls to free(). > > Signed-off-by: Mahmoud Mandour > --- > tools/virtiofsd/passthrough_ll.c | 17 ++++++----------- > 1 file changed, 6 insertions(+), 11 deletions(-) Reviewed-by: Stefan Hajnoczi